mirror of
https://github.com/cc65/cc65.git
synced 2025-03-06 14:30:24 +00:00
Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2194 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a64a4068fc
commit
ea7b1f5312
@ -28,7 +28,7 @@ _sprintf:
|
|||||||
|
|
||||||
; We have to push buf and format, both in the order they already have on stack.
|
; We have to push buf and format, both in the order they already have on stack.
|
||||||
; To make this somewhat more efficient, we will create space on the stack and
|
; To make this somewhat more efficient, we will create space on the stack and
|
||||||
; the do a copy of the complete block instead of pushing each parameter
|
; then do a copy of the complete block instead of pushing each parameter
|
||||||
; separately. Since the size of the arguments passed is the same as the size
|
; separately. Since the size of the arguments passed is the same as the size
|
||||||
; of the fixed arguments, this will allow us to calculate the pointer to the
|
; of the fixed arguments, this will allow us to calculate the pointer to the
|
||||||
; fixed size arguments easier (they're just ParamSize bytes away).
|
; fixed size arguments easier (they're just ParamSize bytes away).
|
||||||
|
@ -33,7 +33,7 @@ outdesc: ; Static outdesc structure
|
|||||||
; static void out (struct outdesc* d, const char* buf, unsigned count)
|
; static void out (struct outdesc* d, const char* buf, unsigned count)
|
||||||
; /* Routine used for writing */
|
; /* Routine used for writing */
|
||||||
; {
|
; {
|
||||||
; /* String - be shure to check the size */
|
; /* String - be sure to check the size */
|
||||||
; while (count-- && d->ccount < d->uns) {
|
; while (count-- && d->ccount < d->uns) {
|
||||||
; ((char*) d->ptr) [d->ccount] = *buf;
|
; ((char*) d->ptr) [d->ccount] = *buf;
|
||||||
; ++buf;
|
; ++buf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user