- spelling
- write file name in quotes
This commit is contained in:
parent
55e1bb2f10
commit
08744c015f
1 changed files with 6 additions and 7 deletions
|
@ -427,17 +427,14 @@ void fgHiResDump()
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
message = "Snap shot saved to ";
|
message = "Snapshot saved to \"";
|
||||||
message += filename;
|
message += filename;
|
||||||
|
message += '".';
|
||||||
mkDialog (message.c_str());
|
mkDialog (message.c_str());
|
||||||
|
|
||||||
free(tile);
|
free(tile);
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
|
||||||
// message = "Snap shot saved to ";
|
|
||||||
// message += filename;
|
|
||||||
// mkDialog (message.c_str());
|
|
||||||
|
|
||||||
delete [] filename;
|
delete [] filename;
|
||||||
|
|
||||||
if ( show_pu_cursor ) {
|
if ( show_pu_cursor ) {
|
||||||
|
@ -569,11 +566,13 @@ void fgDumpSnapShot () {
|
||||||
if ( sg_glDumpWindow( filename,
|
if ( sg_glDumpWindow( filename,
|
||||||
fgGetInt("/sim/startup/xsize"),
|
fgGetInt("/sim/startup/xsize"),
|
||||||
fgGetInt("/sim/startup/ysize")) ) {
|
fgGetInt("/sim/startup/ysize")) ) {
|
||||||
message = "Snap shot saved to ";
|
message = "Snapshot saved to \"";
|
||||||
message += filename;
|
message += filename;
|
||||||
|
message += "\".";
|
||||||
} else {
|
} else {
|
||||||
message = "Failed to save to ";
|
message = "Failed to save to \"";
|
||||||
message += filename;
|
message += filename;
|
||||||
|
message += "\".";
|
||||||
}
|
}
|
||||||
|
|
||||||
mkDialog (message.c_str());
|
mkDialog (message.c_str());
|
||||||
|
|
Loading…
Add table
Reference in a new issue