X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/997a97b5e42afccbc75f2e2dde61f1e74856cb86..2470cecbf9f0f40714b9f50d9a76d187abe336e6:/emufs_gui/facturas.c?ds=sidebyside diff --git a/emufs_gui/facturas.c b/emufs_gui/facturas.c index a0b529f..c3a82ff 100644 --- a/emufs_gui/facturas.c +++ b/emufs_gui/facturas.c @@ -232,8 +232,8 @@ t_LstFacturas *fact_cargar(t_Parametros *param) cant_items = 0; } tmp->fp = emufs_crear("facturas", param->tipo_arch_fact, param->tam_bloque_fact, 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, "numero", IND_PRIMARIO, IND_B, IDX_INT, 0, 512); + emufs_agregar_indice(tmp->fp, "emision", IND_EXAHUSTIVO, IND_B, IDX_STRING, STRUCT_OFFSET(factura, emision), 512, 0); + emufs_agregar_indice(tmp->fp, "numero", IND_PRIMARIO, IND_B, IDX_INT, 0, 512, 0); tmp->fp_texto = emufs_crear("notas", param->tipo_arch_nota, param->tam_bloque_nota, 100); for (node=inicio ; node ; node = node->next) { if (node->type == XML_ELEMENT_NODE) {