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

pull/155/head
yexo 16 years ago
parent faf959de65
commit c1b27cf648

@ -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 {

Loading…
Cancel
Save