Fixed possible bug for %%
This commit is contained in:
parent
f4960433bc
commit
38e89f11f4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user