diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-31 20:08:44 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-02 22:14:26 +0100 |
commit | 7ab0915a6c8bab76273085ac563102e7ef8a6756 (patch) | |
tree | ac37435093d6728fd8a0527f51184a3328e80c2e /RichString.h | |
parent | 0806a7958b5b5ee29da043d3e4f3f854c164059d (diff) |
Remove unnecessary trailing semicolon on macros
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/RichString.h b/RichString.h index aab2d891..3fb85279 100644 --- a/RichString.h +++ b/RichString.h @@ -15,9 +15,9 @@ in the source distribution for its full text. #define RichString_size(this) ((this)->chlen) #define RichString_sizeVal(this) ((this).chlen) -#define RichString_begin(this) RichString (this); RichString_beginAllocated(this); -#define RichString_beginAllocated(this) memset(&(this), 0, sizeof(RichString)); (this).chptr = (this).chstr; -#define RichString_end(this) RichString_prune(&(this)); +#define RichString_begin(this) RichString (this); RichString_beginAllocated(this) +#define RichString_beginAllocated(this) memset(&(this), 0, sizeof(RichString)); (this).chptr = (this).chstr +#define RichString_end(this) RichString_prune(&(this)) #ifdef HAVE_LIBNCURSESW #define RichString_printVal(this, y, x) mvadd_wchstr(y, x, (this).chptr) |