Skip to content
Snippets Groups Projects
Commit e0d9cc8e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix g++ compile error (did not appear with MSVC)

error: ISO C++ forbids comparison between pointer and integer
parent d89f7d49
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4827 passed
......@@ -54,7 +54,7 @@ bool sbbs_t::replace_text(const char* path)
}
if (text[n] != text_sav[n] && text[n] != nulstr)
free(text[n]);
if (list[i]->value == '\0')
if (*list[i]->value == '\0')
text[n] = (char *)nulstr;
else
text[n] = strdup(list[i]->value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment