diff options
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 6bea34845..c78ee406d 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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 { |