stuff
This commit is contained in:
parent
46f4cd5800
commit
69f9d7693f
@ -389,8 +389,8 @@ eval_cb( Progress *progress )
|
|||||||
if( im->time->percent != progress->last_percent ) {
|
if( im->time->percent != progress->last_percent ) {
|
||||||
/* \r at end returns to the start of this line.
|
/* \r at end returns to the start of this line.
|
||||||
*/
|
*/
|
||||||
printf( _( "%s: %d%% complete\r" ),
|
printf( _( "%s %s: %d%% complete\r" ),
|
||||||
im->filename, im->time->percent );
|
g_get_prgname(), im->filename, im->time->percent );
|
||||||
fflush( stdout );
|
fflush( stdout );
|
||||||
|
|
||||||
progress->last_percent = im->time->percent;
|
progress->last_percent = im->time->percent;
|
||||||
@ -406,8 +406,8 @@ evalend_cb( Progress *progress )
|
|||||||
|
|
||||||
/* Spaces at end help to erase the %complete message we overwrite.
|
/* Spaces at end help to erase the %complete message we overwrite.
|
||||||
*/
|
*/
|
||||||
printf( _( "%s: done in %ds \n" ),
|
printf( _( "%s %s: done in %ds \n" ),
|
||||||
im->filename, im->time->run );
|
g_get_prgname(), im->filename, im->time->run );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user