summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gettext.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext.lua b/gettext.lua
index d6ce223..62524f5 100644
--- a/gettext.lua
+++ b/gettext.lua
@@ -25,7 +25,7 @@ local function unescape(str)
local bsl = #bs
local realbs = strrep("\\", bsl/2)
if bsl%2 == 1 then
- c = escapes[c]
+ c = escapes[c] or c
end
return realbs..c
end))