From 161cb40806e0050e6950577afc5d8a9df0967d7f Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Wed, 25 Oct 2023 19:26:03 -0700
Subject: [PATCH] Fix g++ compile error (did not appear with MSVC)

error: ISO C++ forbids comparison between pointer and integer
---
 src/sbbs3/str.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/str.cpp b/src/sbbs3/str.cpp
index 3db5402007..b260907c98 100644
--- a/src/sbbs3/str.cpp
+++ b/src/sbbs3/str.cpp
@@ -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);
-- 
GitLab