Fix remaining string format errors

(cherry picked from commit b8dc3f5795)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent 48c32050eb
commit 7d8c30094c

@ -178,7 +178,7 @@ bool PixmapBarcode::createPixmap( TQPixmap* target, int resx, int resy )
cmd += input->name();
cmd += " -sNOPAUSE -q - -c showpage quit";
qDebug("cmd: " + cmd );
qDebug("cmd: %s", cmd.ascii() );
gs_pipe = popen( cmd.latin1(), "w" );
if( !gs_pipe )
{

@ -122,7 +122,7 @@ bool TBarcode2::createPostscript( char** postscript, long* postscript_size )
tbarcode->height(),
tbarcode->checksum() );
qDebug( "Cmd = " + cmd );
qDebug( "Cmd = %s", cmd.ascii() );
if( !readFromPipe( cmd.latin1(), postscript, postscript_size ) )
return false;

Loading…
Cancel
Save