Skip empty lines.

(cherry picked from commit 74f2500244bd127ecc0964fb4d46b16e96bdee94)
This commit is contained in:
Ramon Novoa 2024-03-21 11:08:48 +01:00
parent 74351b1caf
commit 298e139580
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ Key_Value::parseLine (string str) {
string trimmedstr;
trimmedstr = trim (str);
if (trimmedstr == "") {
return;
}
/* Check if the string has " */
pos = trimmedstr.find ("\"");