1. libsleipnir
  2. sleipnir

Commits

chuttenh  committed 14e69a2

Fix a dumb bug in Filterer having to do with negative range specification

  • Participants
  • Parent commits 25c0112
  • Branches sleipnir

Comments (0)

Files changed (1)

File tools/Filterer/Filterer.cpp

View file
  • Ignore whitespace
 	fDefaultExclude = false;
 	for( iArg = 0; iArg < sArgs.inputs_num; ++iArg ) {
 		vecstrTokens.clear( );
-		CMeta::Tokenize( sArgs.inputs[iArg] + 1, vecstrTokens, "-", true );
+		CMeta::Tokenize( sArgs.inputs[iArg] + 1, vecstrTokens, "=", true );
 		d = (float)atof( vecstrTokens[0].c_str( ) );
 		if( vecstrTokens.size( ) == 1 ) {
-			if( ( sArgs.inputs[iArg][1] ) == '-' ) {
+			if( ( sArgs.inputs[iArg][1] ) == '=' ) {
 				dMin = -FLT_MAX;
 				dMax = d; }
 			else {