Skip to content

Commit ba6dc76

Browse files
committed
Modified settings a bit to deal with old version
1 parent 6ac9b98 commit ba6dc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ QStringList Settings::SplitQStringList(QString str)
178178
for(int i = 0; i < str.length(); ++i)
179179
{
180180
// revert escaped characters
181-
if(str[i] == '\\')
181+
if(str[i] == '\\' && (str[i+1] == ',' || str[i+1] == '\\')) // treat invalid escape sequences as normal '\'s
182182
entry += str[++i];
183183
else if(str[i] == ',')
184184
{

0 commit comments

Comments
 (0)