Pequeños cambios en las librerias comunes

This commit is contained in:
2022-10-17 19:53:19 +02:00
parent 3d52c45f5c
commit cf357560b2
11 changed files with 99 additions and 73 deletions

View File

@@ -143,7 +143,9 @@ void Text::initOffsetFromFile(std::string file)
{
// Almacena solo las lineas impares
if (line_read % 2 == 1)
{
offset[index++].w = std::stoi(buffer);
}
// Limpia el buffer
buffer.clear();