diff options
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index d17ce2c..5f4dd6b 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -195,6 +195,10 @@ void ctest::Initialize() fin.getline(buffer, 1023); buffer[1023] = 0; std::string line = ::CleanString(buffer); + if(line.size() == 0) + { + continue; + } while ( fin && (line[line.size()-1] == '\\') ) { line = line.substr(0, line.size()-1); @@ -207,10 +211,6 @@ void ctest::Initialize() { continue; } - if ( line.size() == 0 ) - { - continue; - } std::string::size_type cpos = line.find_first_of(":"); if ( cpos == line.npos ) { |