From 6d90e58c01c606841753fb23b4effe3d815223cd Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 27 Feb 2014 16:35:22 -0300 Subject: alignment improvements --- RichString.c | 1 + 1 file changed, 1 insertion(+) (limited to 'RichString.c') 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) { -- cgit v1.2.3