X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/c4b24cdb8c9c9c83ad2b4cad26560b3487d15bd7..eed96fb1757f582ff36f711145eb009e484ea198:/emufs_gui/gui.c?ds=inline 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);