From 70bff9c430617e5409dcfe777d0f18ff2e571cf1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 2 Aug 2005 08:10:04 +0000 Subject: [PATCH] Fixed AGAIN! --- amxmodx/CString.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/amxmodx/CString.h b/amxmodx/CString.h index 7668f95c..1a9e3ac9 100755 --- a/amxmodx/CString.h +++ b/amxmodx/CString.h @@ -278,7 +278,10 @@ public: String substr(unsigned int index, int num = npos) { if (!v) - return String(""); + { + String b(""); + return b; + } String ns;