mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +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 */
|
/* Do formatting and output */
|
||||||
_printf (&d, format, ap);
|
_printf (&d, format, ap);
|
||||||
|
|
||||||
|
/* Terminate the result string */
|
||||||
|
buf [d.ccount++] = '\0';
|
||||||
|
|
||||||
/* Return bytes written */
|
/* Return bytes written */
|
||||||
return d.ccount;
|
return d.ccount;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user