Fixed possible bug for %%

This commit is contained in:
David Anderson 2004-08-30 01:39:15 +00:00
parent f4960433bc
commit 38e89f11f4

View File

@ -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;
}