Fix 'format not a string literal' error

pull/1/head
Francois Andriot 11 years ago committed by Slávek Banko
parent 179e02f26f
commit e22d244e17

@ -172,14 +172,14 @@ void barcodeRecognitionThread::printArray( int array[10][13][2], int level )
for (int i = 0; i < 10; i++) {
TQCString temp;
temp.setNum( i );
fprintf( stderr, temp + " : " );
fprintf( stderr, "%s : ", *(temp) );
for (int j = 0; j < 13; j++) {
if (array[i][j][level] == -1)
fprintf( stderr, "x " );
else {
TQCString temp;
temp.setNum( array[i][j][level] );
fprintf( stderr, temp + " " );
fprintf( stderr, "%s ", *(temp) );
}
}
fprintf( stderr, "\n" );

Loading…
Cancel
Save