Skip to content
Snippets Groups Projects
Commit 73391a63 authored by rswindell's avatar rswindell
Browse files

Fix bug caught by (clang?) compile warning:

address of array 'this->cfg.textsec_mod' will always evaluate to 'true'
parent 21015996
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
/****************************************************************************/
int sbbs_t::text_sec()
{
if(!cfg.textsec_mod) {
if(!cfg.textsec_mod[0]) {
bputs(text[NoTextSections]);
return(1);
}
......
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