1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@88 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-06-19 06:14:44 +00:00
parent c31008c78a
commit ea2f5c1309

View File

@ -37,6 +37,9 @@ int vsprintf (char* buf, char* format, va_list ap)
/* Do formatting and output */
_printf (&d, format, ap);
/* Terminate the result string */
buf [d.ccount++] = '\0';
/* Return bytes written */
return d.ccount;
}