diff options
Diffstat (limited to 'RichString.c')
-rw-r--r-- | RichString.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/RichString.c b/RichString.c index 5b79d8cd..34720c1b 100644 --- a/RichString.c +++ b/RichString.c @@ -154,6 +154,7 @@ void RichString_prune(RichString* this) { free(this->chptr); this->chptr = this->chstr; this->chlen = 0; + RichString_setChar(this, 0, 0); } void RichString_setAttr(RichString* this, int attrs) { |