summaryrefslogtreecommitdiff
path: root/src/crashlog.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-09 16:52:43 +0000
committerfrosch <frosch@openttd.org>2012-12-09 16:52:43 +0000
commitedd9c0553a7ff735000cc52c9b02fa33db767521 (patch)
tree76e8bfb70df3f1b2ff3789f2e2ebf022ba0f8290 /src/crashlog.cpp
parent1c71fbe0f0a909b0fa865fcb1a83532c6ab871fd (diff)
downloadopenttd-edd9c0553a7ff735000cc52c9b02fa33db767521.tar.xz
(svn r24804) -Add: Separate subdirectory for screenshots.
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r--src/crashlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index 8948fec1d..6881ff31f 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -388,7 +388,7 @@ bool CrashLog::WriteScreenshot(char *filename, const char *filename_last) const
/* Don't draw when we have invalid screen size */
if (_screen.width < 1 || _screen.height < 1 || _screen.dst_ptr == NULL) return false;
- bool res = MakeScreenshot(SC_RAW, "crash");
+ bool res = MakeScreenshot(SC_CRASHLOG, "crash");
if (res) strecpy(filename, _full_screenshot_name, filename_last);
return res;
}