diff --git a/ZString.cpp b/ZString.cpp index f66c77b..3b4c77b 100644 --- a/ZString.cpp +++ b/ZString.cpp @@ -145,13 +145,12 @@ namespace coreutils { return value; } } - if(*cursor != '.') - if(cursor == end) { - if(negative) - return -value; - else - return value; - } + if(*cursor != '.') { + if(negative) + return -value; + else + return value; + } ++cursor; if(cursor == end) { if(negative)