]> git.mxchange.org Git - flightgear.git/commitdiff
Fix FL_STAT macro
authorFrederic Bouvier <fredfgfs01@free.fr>
Sun, 12 Feb 2012 20:20:53 +0000 (21:20 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sun, 12 Feb 2012 20:20:53 +0000 (21:20 +0100)
utils/fgadmin/src/fgadmin_funcs.cxx

index 0b67adc2c76faa358da8dd9968467525dd03ff81..7b251ea0da3caeafda1ec85ecedbbd8c3292d1ae 100644 (file)
@@ -59,7 +59,7 @@ static const float max_progress = 5000.0;
     // Fltk < 1.3, "fl_filename_free_list", "fl_stat" not available
     #define FL_FREE_DIR_ENTRY(e) free(e)
     #define FL_FREE_DIR_LIST(list,count) free(list)
-    #define FL_STAT() stat( file.str().c_str(), info );
+    #define FL_STAT(file,info) stat( file.str().c_str(), info );
 #endif
 
 /** Strip a single trailing '/' or '\\' */