X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/681f9d807b6f486e251e49401abe40c09b7855c1..c11646cc62f361d1bb7e9dd583f1ee9e11116082:/emufs_gui/registros.c?ds=sidebyside 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; }