mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
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