diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-05-28 23:43:52 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2023-05-28 23:44:40 +0200 |
commit | b810678a8dcb708b452864f5991f007920161bdb (patch) | |
tree | 5fa9b00eae31621bdf79ee7f1c3f5c639f782abf /RichString.h | |
parent | f0a7a78797bd9fd9b8215cc194922d7bc1d6b885 (diff) |
Avoid comma operator to reduce ambiguity of the assignment
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RichString.h b/RichString.h index cbcbe48b..9a09166c 100644 --- a/RichString.h +++ b/RichString.h @@ -18,7 +18,7 @@ in the source distribution for its full text. #define RichString_begin(this) RichString this; RichString_beginAllocated(this) #define RichString_beginAllocated(this) \ do { \ - (this).chlen = 0, \ + (this).chlen = 0; \ (this).chptr = (this).chstr; \ RichString_setChar(&(this), 0, 0); \ (this).highlightAttr = 0; \ |