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:
parent
c31008c78a
commit
ea2f5c1309
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user