From: Ricardo Markiewicz Date: Sun, 11 Apr 2004 07:01:28 +0000 (+0000) Subject: * BUGFIX : error de typo (va, mas de copy&paste) en la recuperacion X-Git-Tag: svn_import_r684~535 X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/commitdiff_plain/e3093722ded05e40d1c132052340739ca4f564aa?ds=inline * BUGFIX : error de typo (va, mas de copy&paste) en la recuperacion de registros variables. --- diff --git a/emufs_gui/articulos.c b/emufs_gui/articulos.c index ed3c922..ae6ddb3 100644 --- a/emufs_gui/articulos.c +++ b/emufs_gui/articulos.c @@ -294,8 +294,7 @@ int procesar_leer_articulo(t_Articulo *dst, void *src, int size, t_LstArticulos ini = fin+1; fin = (char *)src+size; - while (*fin!='\0') fin++; - memcpy(dst->pvu, ini, fin-ini); + memcpy(dst->emin, ini, fin-ini+1); break; case T3: