diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2013-03-26 21:22:18 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2013-03-26 21:52:53 +0100 |
commit | 9add87f50e591b0368972a09c01abddd228057c2 (patch) | |
tree | 759628c0d7fbf4522704bcb1bc3eb324e93f4747 /crawl-ref/source/util/txc | |
parent | 1032866fd3c03268943ea46127f3f92d2c7c73b8 (diff) | |
download | crawl-ref-9add87f50e591b0368972a09c01abddd228057c2.tar.gz crawl-ref-9add87f50e591b0368972a09c01abddd228057c2.zip |
[txc] Improve detection of link entries.
Diffstat (limited to 'crawl-ref/source/util/txc')
-rwxr-xr-x | crawl-ref/source/util/txc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/txc b/crawl-ref/source/util/txc index b222a272ba..7e95d9173c 100755 --- a/crawl-ref/source/util/txc +++ b/crawl-ref/source/util/txc @@ -694,7 +694,7 @@ class IniFile(ResourceFile): # Delete entries with only a link. There's no point in translating them. if len(e.value) > 1 and e.value[0] == '<' and e.value[-1] == '>'\ - and e.value.find("\n") == -1: + and e.value.find("\n") == -1 and e.value[1:].find("<") == -1: if key in self.entries: self.diff['removed'][key] = self.entries[key] del self.entries[key] |