Группа :: Издательство
Пакет: paps
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: Ubuntu-fix-loop-in-split.patch
Скачать
Скачать
Description: Fix an error on autoreconf
Origin: Fedora project, paps 0.6.8-14
Author: Akira TAGOH <tagoh@redhat.com>
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];