migrant a SDL3
This commit is contained in:
@@ -23,9 +23,9 @@ namespace lang
|
||||
while (std::getline(rfile, line))
|
||||
{
|
||||
// Almacena solo las lineas que no empiezan por # o no esten vacias
|
||||
const bool test1 = line.substr(0, 1) != "#";
|
||||
const bool test2 = !line.empty();
|
||||
if (test1 && test2)
|
||||
const bool TEST1 = line.substr(0, 1) != "#";
|
||||
const bool TEST2 = !line.empty();
|
||||
if (TEST1 && TEST2)
|
||||
{
|
||||
texts.push_back(line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user