summaryrefslogtreecommitdiff
path: root/src/screenshot_gui.cpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-20 17:12:31 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-27 14:19:35 +0100
commit3c8d0aa3544602dd8e34ec8ffcdc12cfc7f73b3f (patch)
tree89368edbecf3ff2de5c295ccbc21892558d26b7a /src/screenshot_gui.cpp
parented6f31f601ef92e098f5555e9bb2b1492c5a7e79 (diff)
downloadopenttd-3c8d0aa3544602dd8e34ec8ffcdc12cfc7f73b3f.tar.xz
Cleanup: Give `TakeScreenshot` a more sensible name
Diffstat (limited to 'src/screenshot_gui.cpp')
-rw-r--r--src/screenshot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshot_gui.cpp b/src/screenshot_gui.cpp
index ae5854fb7..c0e65f13d 100644
--- a/src/screenshot_gui.cpp
+++ b/src/screenshot_gui.cpp
@@ -39,7 +39,7 @@ struct ScreenshotWindow : Window {
case WID_SC_TAKE_HEIGHTMAP: st = SC_HEIGHTMAP; break;
case WID_SC_TAKE_MINIMAP: st = SC_MINIMAP; break;
}
- TakeScreenshot(st);
+ MakeScreenshotWithConfirm(st);
}
};