(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 1a940c24e3
commit eafdc200c8
1 changed files with 1 additions and 1 deletions

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 {