1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

use log functions instead of printf and RCT2_ERROR (now removed)

This commit is contained in:
IntelOrca
2015-06-14 12:03:32 +01:00
parent 949d195c95
commit beb2b23afb
8 changed files with 27 additions and 39 deletions

View File

@@ -77,7 +77,7 @@ static int screenshot_get_next_path(char *path, int format)
platform_get_user_directory(screenshotPath, "screenshot");
if (!platform_ensure_directory_exists(screenshotPath)) {
fprintf(stderr, "Unable to save screenshots in OpenRCT2 screenshot directory.\n");
log_error("Unable to save screenshots in OpenRCT2 screenshot directory.\n");
return -1;
}
@@ -93,7 +93,7 @@ static int screenshot_get_next_path(char *path, int format)
}
}
fprintf(stderr, "You have too many saved screenshots.\n");
log_error("You have too many saved screenshots.\n");
return -1;
}