File diff r19848:28461ca62457 → r19849:42900960d059
src/crashlog.cpp
Show inline comments
 
@@ -385,13 +385,13 @@ bool CrashLog::WriteSavegame(char *filen
 
 */
 
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;
 
}
 

	
 
/**
 
 * Makes the crash log, writes it to a file and then subsequently tries