Группа :: Терминалы
Пакет: libstfl0
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: stfl-0.24-alt-warnings.patch
Скачать
Скачать
diff --git a/stfl/widgets/wt_list.c b/stfl/widgets/wt_list.c
index 9fec07e..43fe080 100644
--- a/stfl/widgets/wt_list.c
+++ b/stfl/widgets/wt_list.c
@@ -73,10 +73,12 @@ static void fix_offset_pos(struct stfl_widget *w)
struct stfl_widget *c;
for (i=0, c=w->first_child; c; i++, c=c->next_sibling) {
if (stfl_widget_getkv_int(c, L"can_focus", 1) &&
- stfl_widget_getkv_int(c, L".display", 1))
- maxpos= i;
+ stfl_widget_getkv_int(c, L".display", 1)) {
+ maxpos = i;
- if(maxpos == pos) break;
+ if (maxpos == pos)
+ break;
+ }
}
if (maxpos >= 0 && pos > maxpos)