diff options
author | yexo <yexo@openttd.org> | 2009-02-26 20:30:41 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-26 20:30:41 +0000 |
commit | eafdc200c85a4a3932be931a583207d9457f3113 (patch) | |
tree | 1e2ffac3aa93dc4f1f70b7d45497f9e721975100 /src | |
parent | 1a940c24e3f0689320cb1047ae13a119b75594d3 (diff) | |
download | openttd-eafdc200c85a4a3932be931a583207d9457f3113.tar.xz |
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
Diffstat (limited to 'src')
-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 { |