X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/e50af225b6fcc10c4cfd18b4f3c1bb850558efc8..502a6f92fd7acf3c942a92b41bf0ed788a128515:/emufs_gui/emufs_view.c?ds=inline diff --git a/emufs_gui/emufs_view.c b/emufs_gui/emufs_view.c index 94ca402..f26ba48 100644 --- a/emufs_gui/emufs_view.c +++ b/emufs_gui/emufs_view.c @@ -346,25 +346,12 @@ void menu_ver_registros() WINDOW *dialog; while ((opt = menu_ejecutar(mi_menu, 4, "Menu Ver Registros")) != 3) { - switch (opt) { - case 0: - dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1); - ver_registros(dialog, COLS-2, LINES-4, 0); - werase(dialog); - wrefresh(dialog); - delwin(dialog); - refresh(); - break; - case 1: - dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1); - ver_registros(dialog, COLS-2, LINES-4, 1); - werase(dialog); - wrefresh(dialog); - delwin(dialog); - refresh(); - /* break; */ - /* case 2: */ - } + dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1); + ver_registros(dialog, COLS-2, LINES-4, opt); + werase(dialog); + wrefresh(dialog); + delwin(dialog); + refresh(); } }