From 484014e2db261261bdf76d204e7fe2afc981a5e7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 22 Feb 2006 01:05:09 +0000 Subject: [PATCH] fixed translate concat bug --- amxmodx/format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/format.cpp b/amxmodx/format.cpp index 568d1dde..8b8edc5d 100644 --- a/amxmodx/format.cpp +++ b/amxmodx/format.cpp @@ -374,7 +374,7 @@ reswitch: const char *def = translate(amx, addr, key); size_t written = atcprintf(buf_p, llen, def, amx, params, &arg); buf_p += written; - maxlen -= written; + llen -= written; break; } case '%':