From 38e89f11f4b99765a05a7f568d347394f73909a2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 30 Aug 2004 01:39:15 +0000 Subject: [PATCH] Fixed possible bug for %% --- amxmodx/CLang.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/CLang.cpp b/amxmodx/CLang.cpp index 2489bcdc..fe26c650 100755 --- a/amxmodx/CLang.cpp +++ b/amxmodx/CLang.cpp @@ -824,12 +824,12 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len) break; } } + outptr += strlen(outptr); } else { *outptr++ = '%'; *outptr++ = '%'; - src++; + ++src; } - outptr += strlen(outptr); } curState = S_Normal; }