X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/91245c4c700e6740b4d00e1f36b02e05ff96dabd..7fbac7446d65ec8736243187ec181c5ae55b2ac9:/emufs_gui/facturas.c?ds=sidebyside diff --git a/emufs_gui/facturas.c b/emufs_gui/facturas.c index b5e2fa9..a49389f 100644 --- a/emufs_gui/facturas.c +++ b/emufs_gui/facturas.c @@ -227,7 +227,7 @@ t_LstFacturas *fact_cargar(const char *filename, int tipo, int tam_bloque, int t cant_items = 0; } tmp->fp = emufs_crear("facturas", tipo-1, tam_bloque, sizeof(t_Factura)-sizeof(char *)-sizeof(t_Item*)+cant_items*sizeof(t_Item)); - /*emufs_agregar_indice(tmp->fp, "emision", IND_EXAHUSTIVO, IND_B, IDX_STRING, STRUCT_OFFSET(factura, emision), 512);*/ + emufs_agregar_indice(tmp->fp, "emision", IND_EXAHUSTIVO, IND_B, IDX_STRING, STRUCT_OFFSET(factura, emision), 512); emufs_agregar_indice(tmp->fp, "numero", IND_PRIMARIO, IND_B, IDX_INT, 0, 512); tmp->fp_texto = emufs_crear("notas", tipo_nota-1, bloque_nota, 100); for (node=inicio ; node ; node = node->next) {