Description: Fix an error on autoreconf Origin: Fedora project, paps 0.6.8-14 Author: Akira TAGOH Bug: https://bugzilla.redhat.com/show_bug.cgi?id=618483 --- a/src/paps.c +++ b/src/paps.c @@ -642,7 +642,9 @@ } for (i = 0; i < len; i++) { - wwidth += wcwidth (wtext[i]); + gssize w = wcwidth(wtext[i]); + if (w >= 0) + wwidth += w; if (wwidth > n) break; wnewtext[i] = wtext[i];