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());