X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/2470cecbf9f0f40714b9f50d9a76d187abe336e6..ad2c7ad2d8e8e460bc0f9d790da9b7f315bc0125:/emufs_gui/articulos.c?ds=sidebyside diff --git a/emufs_gui/articulos.c b/emufs_gui/articulos.c index 07b40cc..136bf96 100644 --- a/emufs_gui/articulos.c +++ b/emufs_gui/articulos.c @@ -114,7 +114,7 @@ t_LstArticulos *art_cargar(t_Parametros *param) PERR("Voy a agregar un indice"); emufs_agregar_indice(tmp->fp, "presentacion", IND_EXAHUSTIVO, IND_B, IDX_STRING, STRUCT_OFFSET(un_articulo, desc), 512, 1); emufs_agregar_indice(tmp->fp, "desc", IND_EXAHUSTIVO, IND_B, IDX_STRING, STRUCT_OFFSET(un_articulo, desc), 512, 0); - emufs_agregar_indice(tmp->fp, "codigo", IND_PRIMARIO, IND_B, IDX_INT, 0, 512, 0); + emufs_agregar_indice(tmp->fp, "codigo", IND_PRIMARIO, IND_B_ASC, IDX_INT, 0, 512, 0); if (!tmp->fp) { PERR("NO SE PUDO CREAR ARCHIVO ARTICULOS"); free(tmp);