1
0
Fork 0

More work toward an international fgadmin

This commit is contained in:
Frederic Bouvier 2011-08-07 20:26:34 +02:00
parent db85ebff95
commit c28825d9de

View file

@ -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 ";