Commit 443ecf7c authored by Jerry Clarke's avatar Jerry Clarke
Browse files

strlen - 1 on check for parameter format

parent 4fc2614f
......@@ -122,7 +122,7 @@ if( !this->ParameterArray ){
}
}
IValue = Value;
LastFormatCharIndex = strlen( this->ParameterFormat );
LastFormatCharIndex = strlen( this->ParameterFormat ) - 1;
if ( LastFormatCharIndex >= 0 ) {
switch ( this->ParameterFormat[ LastFormatCharIndex ] ) {
case 'g' :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment