Skip to content
Snippets Groups Projects
Commit 161cb408 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 35042374
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -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.
Please register or to comment