]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs_gui/emufs_view.c
* Ver registros de Notas agregado
[z.facultad/75.06/emufs.git] / emufs_gui / emufs_view.c
index 94ca4024a86bff0e6a1d7d4ce29a6ae4fa0525b0..f26ba485acf13fadb0c31bdf8383b768bf0c949e 100644 (file)
@@ -346,25 +346,12 @@ void menu_ver_registros()
        WINDOW *dialog;
 
        while ((opt = menu_ejecutar(mi_menu, 4, "Menu Ver Registros")) != 3) {
        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();
        }
 }
 
        }
 }