1
0
Fork 0

- spelling

- write file name in quotes
This commit is contained in:
mfranz 2005-10-21 19:34:51 +00:00
parent 55e1bb2f10
commit 08744c015f

View file

@ -427,17 +427,14 @@ void fgHiResDump()
fclose(f);
message = "Snap shot saved to ";
message = "Snapshot saved to \"";
message += filename;
message += '".';
mkDialog (message.c_str());
free(tile);
free(buffer);
// message = "Snap shot saved to ";
// message += filename;
// mkDialog (message.c_str());
delete [] filename;
if ( show_pu_cursor ) {
@ -569,11 +566,13 @@ void fgDumpSnapShot () {
if ( sg_glDumpWindow( filename,
fgGetInt("/sim/startup/xsize"),
fgGetInt("/sim/startup/ysize")) ) {
message = "Snap shot saved to ";
message = "Snapshot saved to \"";
message += filename;
message += "\".";
} else {
message = "Failed to save to ";
message = "Failed to save to \"";
message += filename;
message += "\".";
}
mkDialog (message.c_str());