Changeset - r11236:ea3e07bf3a53
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-02-26 20:30:41
yexo@openttd.org
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -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 {
0 comments (0 inline, 0 general)