From 43af94f7f5d360eccdd12b2d4b50e7a96290bd08 Mon Sep 17 00:00:00 2001 From: olivia Date: Thu, 10 Jul 2025 09:45:52 -0700 Subject: [PATCH] shavit-core.sp - make char literal quotes --- addons/sourcemod/scripting/shavit-core.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sourcemod/scripting/shavit-core.sp b/addons/sourcemod/scripting/shavit-core.sp index ce389db0..aa67eaab 100644 --- a/addons/sourcemod/scripting/shavit-core.sp +++ b/addons/sourcemod/scripting/shavit-core.sp @@ -2197,7 +2197,7 @@ public int SemiNative_PrintToChat(int client, int formatParam) char[] sBuffer2 = new char[maxLen+1]; strcopy(sBuffer1, maxLen+1, sBuffer); - int iCut = FindCharInString(sBuffer1, " ", true); + int iCut = FindCharInString(sBuffer1, ' ', true); strcopy(sBuffer1, iCut, sBuffer); //destLen not iCut+1 because we don't want to include the space at the end of the first message FormatEx(sBuffer2, maxLen+1, "%s", gB_Protobuf ? sBuffer[iCut]:sBuffer[iCut+1]); //cute way to include space in front for csgo, remove it otherwise