1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Fix the conversion of String options

This commit is contained in:
Leo Treggiari 2004-12-17 03:54:05 +00:00
parent b6d40feacd
commit ce8300dbcd

View file

@ -371,6 +371,9 @@ class UpdateManagedProject12 {
configuration.setOption(tool, newOpt, bool.booleanValue());
break;
case IOption.STRING:
String strVal = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);
configuration.setOption(tool, newOpt, strVal);
break;
case IOption.ENUMERATED:
// This is going to be the human readable form of the enumerated value
String name = (String) optRef.getAttribute(IOption.DEFAULT_VALUE);