diff options
Diffstat (limited to 'src/crashlog.cpp')
-rw-r--r-- | src/crashlog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp index 7b0ced062..2dec5ab38 100644 --- a/src/crashlog.cpp +++ b/src/crashlog.cpp @@ -262,8 +262,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; - RequestScreenshot(SC_RAW, "crash"); - bool res = MakeScreenshot(); + bool res = MakeScreenshot(SC_RAW, "crash"); if (res) strecpy(filename, _full_screenshot_name, filename_last); return res; } |