summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2014-03-26 11:08:22 +0100
committerRaphael Langella <raphael.langella@gmail.com>2014-03-26 11:11:24 +0100
commitcc214943a5e50ae1ace9df0c10bce2274c567cd4 (patch)
treed30784905512b9333a413eb9808967d5599ba846 /crawl-ref/source/util
parentf8746589b9169f6ada057067697a7e4a748094ac (diff)
downloadcrawl-ref-cc214943a5e50ae1ace9df0c10bce2274c567cd4.tar.gz
crawl-ref-cc214943a5e50ae1ace9df0c10bce2274c567cd4.zip
Fix double backslash in files pulled from transifex.
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/txc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/txc b/crawl-ref/source/util/txc
index 1aac81bd1e..6b1dcdba09 100755
--- a/crawl-ref/source/util/txc
+++ b/crawl-ref/source/util/txc
@@ -870,7 +870,7 @@ class IniFile(ResourceFile):
for line in ResourceFile.read_file(self):
if not line or line[0] == '#' or line.find('=') == -1: continue
(key, value) = line.split('=', 1)
- self.entries[key] = value.replace('&quot;', '"')
+ self.entries[key] = value.replace('&quot;', '"').replace('\\\\', '\\')
return len(self.entries)