From 679e188ec027978b37eb36a5f2d52bc2cf04ef77 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 3 Apr 2013 16:56:14 -0400 Subject: Textadept should support multiple curses platforms; remove ncurses references. Requires Scintilla r4436 and Scinterm r45. --- core/locale.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/locale.lua') 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() -- cgit v1.2.3