More work toward an international fgadmin
This commit is contained in:
parent
db85ebff95
commit
c28825d9de
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <direct.h>
|
# include <direct.h>
|
||||||
|
@ -257,7 +256,7 @@ void FGAdminUI::install_selected() {
|
||||||
SGPath file( source );
|
SGPath file( source );
|
||||||
file.append( f );
|
file.append( f );
|
||||||
struct stat info;
|
struct stat info;
|
||||||
stat( file.str().c_str(), &info );
|
fl_stat( file.str().c_str(), &info );
|
||||||
float old_max = progress->maximum();
|
float old_max = progress->maximum();
|
||||||
progress->maximum( info.st_size );
|
progress->maximum( info.st_size );
|
||||||
progress_label = "Installing ";
|
progress_label = "Installing ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue