aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/TextConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/TextConfig.cpp')
-rw-r--r--CPP/Common/TextConfig.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/CPP/Common/TextConfig.cpp b/CPP/Common/TextConfig.cpp
index d3e561c..5714e46 100644
--- a/CPP/Common/TextConfig.cpp
+++ b/CPP/Common/TextConfig.cpp
@@ -90,15 +90,14 @@ bool GetTextConfig(const AString &s, CObjectVector<CTextConfigPair> &pairs)
90 c = s[pos++]; 90 c = s[pos++];
91 switch (c) 91 switch (c)
92 { 92 {
93 case 'n': message += '\n'; break; 93 case 'n': c = '\n'; break;
94 case 't': message += '\t'; break; 94 case 't': c = '\t'; break;
95 case '\\': message += '\\'; break; 95 case '\\': break;
96 case '\"': message += '\"'; break; 96 case '\"': break;
97 default: message += '\\'; message += c; break; 97 default: message += '\\'; break;
98 } 98 }
99 } 99 }
100 else 100 message += c;
101 message += c;
102 } 101 }
103 if (!ConvertUTF8ToUnicode(message, pair.String)) 102 if (!ConvertUTF8ToUnicode(message, pair.String))
104 return false; 103 return false;