From bde4cd742c1b8ddbeb406c39043915c6d15ed87b Mon Sep 17 00:00:00 2001 From: Y_Less Date: Tue, 10 Dec 2019 02:34:53 +0100 Subject: [PATCH] 6 digit floats. --- source/amx/amxcons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/amx/amxcons.c b/source/amx/amxcons.c index e9700ff..ef3d14a 100644 --- a/source/amx/amxcons.c +++ b/source/amx/amxcons.c @@ -803,7 +803,7 @@ static int dochar(AMX *amx,TCHAR ch,const cell* params,int paramidx,TCHAR sign,T case __T('r'): /* if floating point is enabled, %r == %f */ /* build a format string */ if (digits==INT_MAX) - digits=5; + digits=6; else if (digits>25) digits=25; _tcscpy(formatstring,__T("%"));