summaryrefslogtreecommitdiffstats
path: root/RichString.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-10-31 20:33:01 +0100
committerBenny Baumann <BenBE@geshi.org>2020-11-02 22:14:26 +0100
commit1877325329b282ce59d8d6733b3728913cb2c6b2 (patch)
tree1df9a3791082cb790349a663122357fbd683d543 /RichString.h
parentdb0a13970ed512a75ade9770f0a1aa468f657f8b (diff)
Spacing after keywords (#define)
Diffstat (limited to 'RichString.h')
-rw-r--r--RichString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/RichString.h b/RichString.h
index 3fb85279..d360299e 100644
--- a/RichString.h
+++ b/RichString.h
@@ -23,13 +23,13 @@ in the source distribution for its full text.
#define RichString_printVal(this, y, x) mvadd_wchstr(y, x, (this).chptr)
#define RichString_printoffnVal(this, y, x, off, n) mvadd_wchnstr(y, x, (this).chptr + (off), n)
#define RichString_getCharVal(this, i) ((this).chptr[i].chars[0] & 255)
-#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = (CharType) { .chars = { ch, 0 } }; } while(0)
+#define RichString_setChar(this, at, ch) do { (this)->chptr[(at)] = (CharType) { .chars = { ch, 0 } }; } while(0)
#define CharType cchar_t
#else
#define RichString_printVal(this, y, x) mvaddchstr(y, x, (this).chptr)
#define RichString_printoffnVal(this, y, x, off, n) mvaddchnstr(y, x, (this).chptr + (off), n)
#define RichString_getCharVal(this, i) ((this).chptr[i])
-#define RichString_setChar(this, at, ch) do{ (this)->chptr[(at)] = ch; } while(0)
+#define RichString_setChar(this, at, ch) do { (this)->chptr[(at)] = ch; } while(0)
#define CharType chtype
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy