X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/681f9d807b6f486e251e49401abe40c09b7855c1..f7ab25b7a02d1930ce9333f5604ecc6c124d122b:/emufs_gui/registros.c diff --git a/emufs_gui/registros.c b/emufs_gui/registros.c index 7d3dfda..e08df56 100644 --- a/emufs_gui/registros.c +++ b/emufs_gui/registros.c @@ -303,7 +303,7 @@ char *procesar_registro_articulo_tipo3(EMUFS *emu, char *ptr, EMUFS_REG_SIZE *si (*ancho) = (*size); } memset(tmp1, '.', (*size)-(tmp1-salida)); - salida[*size] = '\0'; + salida[*size-1] = '\0'; return salida; }