Fix remaining string format errors

pull/1/head
Timothy Pearson 12 years ago
parent 62777d2782
commit b8dc3f5795

@ -178,7 +178,7 @@ bool PixmapBarcode::createPixmap( TQPixmap* target, int resx, int resy )
cmd += input->name();
cmd += " -sNOPAUSE -q - -c showpage quit";
tqDebug("cmd: " + cmd );
tqDebug("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() );
tqDebug( "Cmd = " + cmd );
tqDebug( "Cmd = %s", cmd.ascii() );
if( !readFromPipe( cmd.latin1(), postscript, postscript_size ) )
return false;

Loading…
Cancel
Save