X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/4f49d5af508818404abb40c3008cbeb3f9273843..eed96fb1757f582ff36f711145eb009e484ea198:/emufs_gui/gui.c diff --git a/emufs_gui/gui.c b/emufs_gui/gui.c index ec90147..86f7eed 100644 --- a/emufs_gui/gui.c +++ b/emufs_gui/gui.c @@ -134,7 +134,8 @@ int main(int argc, char *argv[]) dialog = msg_box(stdscr, COLS, LINES, "Generando archivos ..."); if (argc == 4) { art_cargar(argv[1], atoi(argv[2]), atoi(argv[3])); - fact_cargar(argv[1]); + if (!fact_cargar("facturas.xml", 3, 100)) + fprintf(stderr, "ERROR CARGANDO FACTURAS\n"); } else art_cargar(NULL, -1, -1);