Mercurial > hg > xmms-sid
diff src/xs_stil.c @ 252:5a18af547f58
Fix few cases of multiline entry handling.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 21 Dec 2004 20:15:04 +0000 |
parents | f436e16fa6d9 |
children | dd201740a720 |
line wrap: on
line diff
--- a/src/xs_stil.c Tue Dec 21 18:50:00 2004 +0000 +++ b/src/xs_stil.c Tue Dec 21 20:15:04 2004 +0000 @@ -130,6 +130,7 @@ switch (inLine[0]) { case '/': /* Check if we are already parsing entry */ + isMulti = FALSE; if (tmpNode) { XSERR("New entry ('%s') before end of current ('%s')! Possibly malformed STIL-file!\n", @@ -151,6 +152,7 @@ case '(': /* A new sub-entry */ + isMulti = FALSE; linePos++; if (inLine[linePos] == '#') { @@ -177,6 +179,7 @@ case '\n': case '\r': /* End of entry/field */ + isMulti = FALSE; if (tmpNode) { /* Insert to database */