Functions printf()
and strformat()
fail when printing "%%"
#641
Labels
printf()
and strformat()
fail when printing "%%"
#641
Issue description:
(The bug described in this issue belongs to the interpreter from this repository (
pawnruns
), not SA-MP; also, if I understand it correctly, open.mp is also going to use the implementations offormat()
andprintf()
from this repo, so I believe this bug report belongs here.)Printing the percent sign through format specifier
%%
causes a runtime error.Minimal complete verifiable example (MCVE):
Output:
Printing
%
through the%c
specifier doesn't cause any errors though:Discovered this bug while doing one of the tests for #640.
Workspace Information:
The text was updated successfully, but these errors were encountered: