Skip to content

Commit

Permalink
Modified settings a bit to deal with old version
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Jan 26, 2015
1 parent 6ac9b98 commit ba6dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ QStringList Settings::SplitQStringList(QString str)
for(int i = 0; i < str.length(); ++i)
{
// revert escaped characters
if(str[i] == '\\')
if(str[i] == '\\' && (str[i+1] == ',' || str[i+1] == '\\')) // treat invalid escape sequences as normal '\'s
entry += str[++i];
else if(str[i] == ',')
{
Expand Down

0 comments on commit ba6dc76

Please sign in to comment.