mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
This commit is contained in:
parent
1a940c24e3
commit
eafdc200c8
|
@ -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…
Reference in New Issue