mirror of
https://github.com/digarok/gsplus.git
synced 2025-02-06 15:29:59 +00:00
dmg background appley-fied
This commit is contained in:
parent
8d1161b224
commit
841bcff724
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user