mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Fixed an error in the SB_SkipMultiple macro.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4363 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a1fb355a9a
commit
869a1369c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user