]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_file.cxx
Added a touch of error checking to the screen dump routine, i.e. don't
[simgear.git] / simgear / io / sg_file.cxx
index 687a5a0523673e9b420797be61a8e1c802b360e3..4707c3976da9e187b259c5dbeaf6abf9f778cdbf 100644 (file)
@@ -36,8 +36,9 @@
 FG_USING_STD(string);
 
 
-SGFile::SGFile() {
+SGFile::SGFile( const string &file) {
     set_type( sgFileType );
+    file_name = file;
 }