summaryrefslogtreecommitdiff
path: root/Config.cpp
diff options
context:
space:
mode:
authorJapa2011-02-28 03:24:32 +0000
committerJapa2011-02-28 03:24:32 +0000
commit92b8343b5ec1758e5161ac282510d787ba32f00b (patch)
treec60170f9993fc6bcd854dcd277c6487d6149bf64 /Config.cpp
parentded0a7567cbf96049d5e15e98d3641baa45f2930 (diff)
downloadstonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.gz
stonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.bz2
stonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.xz
fixed the phantom outlines that were showing up.
Diffstat (limited to 'Config.cpp')
-rw-r--r--Config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.cpp b/Config.cpp
index 9ea8b87..3d47c3d 100644
--- a/Config.cpp
+++ b/Config.cpp
@@ -67,7 +67,7 @@ void parseConfigLine( string line ){
}
if( line.find("[SEGMENTSIZE_XY") != -1){
int value = parseIntFromLine( "SEGMENTSIZE_XY", line );
- if(value < 5) value = DEFAULT_SEGMENTSIZE;
+ if(value < 1) value = DEFAULT_SEGMENTSIZE;
if(value > 100) value = 100;
//plus 2 to allow edge readings
config.segmentSize.x = value+2;