From: Pierre Habouzit Date: Sun, 3 Dec 2006 14:32:47 +0000 (+0100) Subject: oops :) X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=fbb30063894dbfb851ee04d89c964bc25ea48dcd;p=apps%2Fmadmutt.git oops :) Signed-off-by: Pierre Habouzit --- diff --git a/lib-lib/str.c b/lib-lib/str.c index 53f6ebb..c71c459 100644 --- a/lib-lib/str.c +++ b/lib-lib/str.c @@ -250,7 +250,7 @@ ssize_t m_strwidth (const char *s) wc = '?'; default: w += iswprint(wc) ? wcwidth(wc) : 1; - pos -= nb; + pos += nb; } }