summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-06-04 12:07:36 +0200
committerDanny Baumann <dannybaumann@web.de>2007-06-04 12:07:36 +0200
commit351bde23050e64c8175f98b85c7d9dac82e6622a (patch)
tree26c03b8045bd92bd13d7dddd7a8f70427a8c4539
parentdba136fc379cbdc7dad633d31f2b03d4c1a9b9e0 (diff)
downloadccsm-351bde23050e64c8175f98b85c7d9dac82e6622a.tar.gz
ccsm-351bde23050e64c8175f98b85c7d9dac82e6622a.tar.bz2
Fix selection between int lists with and without descriptions.
-rwxr-xr-xccsm.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ccsm.in b/ccsm.in
index fabcd03..325e1dd 100755
--- a/ccsm.in
+++ b/ccsm.in
@@ -579,7 +579,7 @@ def MakeSetting(setting):
elif setting.Info[0] == 'String' or setting.Info[0] == 'Match':
return StringMatchListSetting(setting)
elif setting.Info[0] == 'Int':
- if len(setting.Info[1]) > 2:
+ if len(setting.Info[1][2]) > 0:
return IntDescListSetting(setting)
else:
return IntFloatListSetting(setting)