(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.

This commit is contained in:
yexo
2009-02-26 20:30:41 +00:00
parent faf959de65
commit c1b27cf648

View File

@@ -715,7 +715,7 @@ void HandleExitGameRequest()
static void ShowScreenshotResult(bool b)
{
if (b) {
extern char *_screenshot_name;
extern char _screenshot_name[];
SetDParamStr(0, _screenshot_name);
ShowErrorMessage(INVALID_STRING_ID, STR_031B_SCREENSHOT_SUCCESSFULLY, 0, 0);
} else {