(svn r17941) -Fix: close BMP file when making screenshot fails

This commit is contained in:
smatz
2009-11-01 20:40:36 +00:00
parent df8c655ee6
commit d87c032e52
2 changed files with 10 additions and 5 deletions

View File

@@ -1219,7 +1219,7 @@ DEF_CONSOLE_CMD(ConScreenShot)
{
if (argc == 0) {
IConsoleHelp("Create a screenshot of the game. Usage: 'screenshot [big | no_con] [file name]'");
IConsoleHelp("'big' makes a screenshot of the whole map, 'no_con' hides the console to create"
IConsoleHelp("'big' makes a screenshot of the whole map, 'no_con' hides the console to create "
"the screenshot. Screenshots of whole map are always drawn without console");
return true;
}