Fix error in progress display when creating a new project.

pull/3/head
Jonathan Moore Liles 2008-06-05 21:51:07 -05:00
parent 92513bfb21
commit ded97d5197
2 changed files with 8 additions and 2 deletions

View File

@ -104,6 +104,9 @@ Loggable::replay ( FILE *fp )
off_t total = st.st_size;
off_t current = 0;
if ( _progress_callback )
_progress_callback( 0, _progress_callback_arg );
while ( fscanf( fp, "%[^\n]\n", buf ) == 1 )
{
if ( ! ( ! strcmp( buf, "{" ) || ! strcmp( buf, "}" ) ) )

View File

@ -554,7 +554,7 @@ delete win;}
code0 {o->spacing( 10 );}
} {
Fl_Box {} {
label {<Transport>} selected
label {<Transport>}
xywh {5 23 189 46} color 30
code0 {transport = o;}
code1 {o->labeltype( FL_NO_LABEL );}
@ -819,13 +819,16 @@ else if ( 0 == p )
progress->hide();
}
DMESSAGE( "progress: %d%%", p );
static char pat[10];
update_progress( progress, pat, p );
progress->redraw();
Fl::check();} {}
Fl::check();} {selected
}
}
}