From b0cb70ffa656bde443ab2dfb3939dc235e6c9c72 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Fri, 23 Dec 2022 10:34:20 +0300 Subject: [PATCH] Fix file existence check --- src/character_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character_editor.cc b/src/character_editor.cc index c45e1b8..2b9cacf 100644 --- a/src/character_editor.cc +++ b/src/character_editor.cc @@ -3968,7 +3968,7 @@ static int characterEditorShowOptions() string4[0] = '\0'; strcat(string4, string1); - if (!characterFileExists(string4)) { + if (characterFileExists(string4)) { // already exists snprintf(string4, sizeof(string4), "%s %s",