From: <dhu...@us...> - 2007-01-12 17:40:53
|
Revision: 154 http://svn.sourceforge.net/qcell/?rev=154&view=rev Author: dhubleizh Date: 2007-01-12 09:40:46 -0800 (Fri, 12 Jan 2007) Log Message: ----------- - maximum value check bug Modified Paths: -------------- trunk/qcell/parsers/FQT/FQTParserPlugin.cpp Modified: trunk/qcell/parsers/FQT/FQTParserPlugin.cpp =================================================================== --- trunk/qcell/parsers/FQT/FQTParserPlugin.cpp 2007-01-12 16:51:11 UTC (rev 153) +++ trunk/qcell/parsers/FQT/FQTParserPlugin.cpp 2007-01-12 17:40:46 UTC (rev 154) @@ -230,7 +230,7 @@ // Keep track of current parsed value value_index++; // Sanity check for value - if(value.toAscii() >= ('0'+values_nr)) + if((int)value.toAscii() >= ((int)'0'+return_values_nr)) { qDebug(tr("The value number %1 in line %2 is larger then the maximum declared in the header.") .arg(value_index) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |