From 9f3af1c09d8b9a6836dc7124a62988672e134426 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 2 Oct 2001 17:20:06 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@997 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/cc65.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index e5785cc05..9ddefe485 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -790,7 +790,7 @@ Or, to access a struct member of a static variable: unsigned char color; } pixel_t; static pixel_t pixel; - __asm__ ("ldy #%b", offsetof(pixel, color)); + __asm__ ("ldy #%b", offsetof(pixel_t, color)); __asm__ ("lda %v,y", pixel);

-- 2.39.5