aboutsummaryrefslogtreecommitdiff
path: root/core/locale.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/locale.lua')
-rw-r--r--core/locale.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/locale.lua b/core/locale.lua
index e888df22..a42b15f7 100644
--- a/core/locale.lua
+++ b/core/locale.lua
@@ -29,7 +29,7 @@ if not f then error('"core/locale.conf" not found.') end
for line in f:lines() do
if not line:find('^%s*%%') then
local id, str = line:match('^(.-)%s*=%s*(.+)$')
- if id and str then M[id] = not NCURSES and str or str:gsub('_', '') end
+ if id and str then M[id] = not CURSES and str or str:gsub('_', '') end
end
end
f:close()