diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2010-06-29 19:47:06 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2010-07-01 11:42:17 -0300 |
commit | e221563a9625e6b52aa42d4d70fded51856004f3 (patch) | |
tree | f25d783d202ffbbe0f5609e5679ae84fb2ee29b7 | |
parent | 463a3c09328881016b71eada8bd593f853d10e82 (diff) |
KeyFile: Proper parse string lists even if ; is not the last char.
-rw-r--r-- | TelepathyQt4/key-file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TelepathyQt4/key-file.cpp b/TelepathyQt4/key-file.cpp index 8a81846a..db4e6c27 100644 --- a/TelepathyQt4/key-file.cpp +++ b/TelepathyQt4/key-file.cpp @@ -293,6 +293,9 @@ bool KeyFile::Private::unescapeStringList(const QByteArray &data, int from, int } else { value += ch; + if (i == to) { + valueList << value; + } } } |