Browse Source

Fix error in progress display when creating a new project.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
ded97d5197
2 changed files with 8 additions and 2 deletions
  1. +3
    -0
      Timeline/Loggable.C
  2. +5
    -2
      Timeline/TLE.fl

+ 3
- 0
Timeline/Loggable.C 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, "}" ) ) )


+ 5
- 2
Timeline/TLE.fl 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
}
}
}



Loading…
Cancel
Save