Merge from sourcemod-1.1 branch.

This commit is contained in:
David Anderson
2009-01-08 13:39:16 -05:00
7 changed files with 294 additions and 142 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ void AddFloat(char **buf_p, size_t &maxlen, double fval, int width, int prec, in
}
// write the fraction part
if (maxlen)
if (maxlen && prec)
{
*buf++ = '.';
maxlen--;