oops :)
[apps/madmutt.git] / lib-lib / str.c
index 53f6ebb..c71c459 100644 (file)
@@ -250,7 +250,7 @@ ssize_t m_strwidth (const char *s)
             wc = '?';
           default:
             w   += iswprint(wc) ? wcwidth(wc) : 1;
-            pos -= nb;
+            pos += nb;
         }
     }