Fix file existence check
This commit is contained in:
parent
512530c653
commit
b0cb70ffa6
|
@ -3968,7 +3968,7 @@ static int characterEditorShowOptions()
|
||||||
string4[0] = '\0';
|
string4[0] = '\0';
|
||||||
strcat(string4, string1);
|
strcat(string4, string1);
|
||||||
|
|
||||||
if (!characterFileExists(string4)) {
|
if (characterFileExists(string4)) {
|
||||||
// already exists
|
// already exists
|
||||||
snprintf(string4, sizeof(string4),
|
snprintf(string4, sizeof(string4),
|
||||||
"%s %s",
|
"%s %s",
|
||||||
|
|
Loading…
Reference in New Issue