dmg background appley-fied

This commit is contained in:
Dagen Brock 2017-01-20 10:17:58 -06:00
parent 8d1161b224
commit 841bcff724
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -616,12 +616,13 @@ int file_exists(char *fname){
}
}
// This tries to determine the next screenshot name.
// It uses the config name as the basename.
void make_next_screenshot_filename()
{
char filepart[256];
char filename[256];
int available_filename = 0;
while (!available_filename) {
char *bn = basename(g_config_gsplus_name);
@ -637,7 +638,6 @@ void make_next_screenshot_filename()
} else {
sprintf(filename, "%s/%s%04d.png",g_config_gsplus_screenshot_dir,filepart,screenshot_index);
}
screenshot_index++;
if (!file_exists(filename)) {
available_filename = 1;