summaryrefslogtreecommitdiff
path: root/src/screenshot.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-28 17:32:33 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-13 23:13:17 +0200
commit95386dc2b8404519c91b9e0ad728c39fb1d9e118 (patch)
tree2ae78944bdb83d220e7d9574302848e26b39baf8 /src/screenshot.h
parent77330d09fd8307261e94fe0eb0260f5ca5cc3898 (diff)
downloadopenttd-95386dc2b8404519c91b9e0ad728c39fb1d9e118.tar.xz
Codechange: move misc settings to std::string
Diffstat (limited to 'src/screenshot.h')
-rw-r--r--src/screenshot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshot.h b/src/screenshot.h
index e65813573..6324cab11 100644
--- a/src/screenshot.h
+++ b/src/screenshot.h
@@ -31,7 +31,7 @@ void MakeScreenshotWithConfirm(ScreenshotType t);
bool MakeScreenshot(ScreenshotType t, std::string name, uint32 width = 0, uint32 height = 0);
bool MakeMinimapWorldScreenshot();
-extern char _screenshot_format_name[8];
+extern std::string _screenshot_format_name;
extern uint _num_screenshot_formats;
extern uint _cur_screenshot_format;
extern char _full_screenshot_name[MAX_PATH];