summaryrefslogtreecommitdiff
path: root/Config.cpp
diff options
context:
space:
mode:
authorKris Parker2009-11-30 14:25:59 +0000
committerKris Parker2009-11-30 14:25:59 +0000
commit452ae5fa227de77b282d9f3a10995387101e612c (patch)
tree2035ed8820dab587fd386ee1167a42bda4499fb6 /Config.cpp
parent9b2bb69dc1467c8ac44ae73fb034171640d58108 (diff)
downloadstonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.gz
stonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.bz2
stonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.xz
Lift segment now more configurable
Diffstat (limited to 'Config.cpp')
-rw-r--r--Config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config.cpp b/Config.cpp
index 5514d3a..bb4feb4 100644
--- a/Config.cpp
+++ b/Config.cpp
@@ -99,8 +99,8 @@ void parseConfigLine( string line ){
config.debug_mode = (result == "YES");
}
if( line.find("LIFTSEGMENT") != -1){
- string result = parseStrFromLine( "LIFTSEGMENT", line );
- config.lift_segment_offscreen = (result == "YES");
+ int value = parseIntFromLine( "LIFTSEGMENT", line);
+ config.lift_segment_offscreen = value;
}
if( line.find("ANIMATION_RATE") != -1){
int value = parseIntFromLine( "ANIMATION_RATE", line );