1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

fix for bug 187688 - Parenthesis incorreclty displayed in Environment pref page

This commit is contained in:
Vivian Kong 2007-05-17 21:21:54 +00:00
parent 9dcb32ddf0
commit 40ccc7a2c3

View file

@ -7,6 +7,7 @@
*
* Contributors:
* Intel Corporation - initial API and implementation
* IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.ui.newui;
@ -25,6 +26,7 @@ import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.window.Window;
import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@ -415,7 +417,7 @@ public class EnvironmentTab extends AbstractCPropertyTab {
int index = 0;
for (Iterator iterator = m.keySet().iterator(); iterator.hasNext(); index++) {
String k = (String)iterator.next();
els[index] = k + LBR + (String)m.get(k) + RBR;
els[index] = TextProcessor.process(k + LBR + (String)m.get(k) + RBR);
}
}
Arrays.sort(els, CDTListComparator.getInstance());