From 869a1369c40ded5f40ff33c227204fc4841212cd Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 14 Oct 2009 10:04:20 +0000 Subject: [PATCH] Fixed an error in the SB_SkipMultiple macro. git-svn-id: svn://svn.cc65.org/cc65/trunk@4363 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/strbuf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/strbuf.h b/src/common/strbuf.h index 8e3fc8863..0bd0a7f7e 100644 --- a/src/common/strbuf.h +++ b/src/common/strbuf.h @@ -295,7 +295,8 @@ INLINE void SB_SkipMultiple (StrBuf* B, unsigned Count) } } #else -# define SB_SkipMultiple(B) do { if (((B)->Index += (Count)) > (B)->Len) (B)->Index = (B)->Len; } while (0) +# define SB_SkipMultiple(B, Count) \ + do { if (((B)->Index += (Count)) > (B)->Len) (B)->Index = (B)->Len; } while (0) #endif void SB_Drop (StrBuf* B, unsigned Count); -- 2.39.5