From 08744c015feba1b953e2b4375a78fb2a35ff3e21 Mon Sep 17 00:00:00 2001 From: mfranz Date: Fri, 21 Oct 2005 19:34:51 +0000 Subject: [PATCH] - spelling - write file name in quotes --- src/GUI/gui_funcs.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index 7073a2887..8ee2d9b44 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -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());