From: cuz Date: Sat, 23 Nov 2002 23:04:50 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2022 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40a53d37e2708cbaed9e0f99b567d3061e7a62d8;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1615 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/fwrite.s b/libsrc/common/fwrite.s index 845792c77..31e3e5e96 100644 --- a/libsrc/common/fwrite.s +++ b/libsrc/common/fwrite.s @@ -103,7 +103,7 @@ sta ptr1 lda f+1 sta ptr1+1 - ldy #_FILE_f_fd + ldy #_FILE_f_flags lda (ptr1),y ora #_FERROR sta (ptr1),y