mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Apply some refactoring
This commit is contained in:
committed by
Michael Steenbeek
parent
386a399a51
commit
06afeeda9a
@@ -235,8 +235,7 @@ void screenshot_giant()
|
||||
|
||||
// Get a free screenshot path
|
||||
char path[MAX_PATH];
|
||||
sint32 index;
|
||||
if ((index = screenshot_get_next_path(path, MAX_PATH)) == -1) {
|
||||
if (screenshot_get_next_path(path, MAX_PATH) == -1) {
|
||||
log_error("Giant screenshot failed, unable to find a suitable destination path.");
|
||||
context_show_error(STR_SCREENSHOT_FAILED, STR_NONE);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user