From b810678a8dcb708b452864f5991f007920161bdb Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 28 May 2023 23:43:52 +0200 Subject: Avoid comma operator to reduce ambiguity of the assignment --- RichString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RichString.h') 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; \ -- cgit v1.2.3