From 6fbc46ce4632b59358a971178cabe01ab9e639b3 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Thu, 27 May 2004 02:04:28 +0000 Subject: [PATCH 1/1] Detalles de la lista. --- emufs_gui/lista.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emufs_gui/lista.c b/emufs_gui/lista.c index 6b62d22..a3ca282 100644 --- a/emufs_gui/lista.c +++ b/emufs_gui/lista.c @@ -106,7 +106,7 @@ void print_lista(t_Lista *lst, t_Fila *fil, int sel) sel++; while (fil) { /* Si no entran mas filas salgo! */ - if (y>=(lst->h-1)) break; + if (y>=(lst->h)) break; col = lst->columnas; /* Imprimo los datos de cada columna */ i = 0; @@ -167,7 +167,7 @@ void lista_ejecutar(t_Lista *lst) } else if ((key == 'z') || (key == 'Z')) { /*offset++;*/ selected++; - if (selected >= lst->h) { + if (selected >= (lst->h-1)) { selected--; offset++; } -- 2.43.0