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:
parent
9dcb32ddf0
commit
40ccc7a2c3
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue