Open Daniel-Cortez opened 3 years ago
That's interesting... We've got a modified version of format/printf in open.mp, but since it didn't touch %%
I'll check there. Thanks.
This issue has been automatically marked as stale because it has not had recent activity.
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: