diff options
author | 2013-04-03 16:56:14 -0400 | |
---|---|---|
committer | 2013-04-03 16:56:14 -0400 | |
commit | 679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch) | |
tree | 61da33e31c8f6f02fcc5fd53e406368635d5df43 /core/locale.lua | |
parent | 00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff) | |
download | textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.tar.gz textadept-679e188ec027978b37eb36a5f2d52bc2cf04ef77.zip |
Textadept should support multiple curses platforms; remove ncurses references.
Requires Scintilla r4436 and Scinterm r45.
Diffstat (limited to 'core/locale.lua')
-rw-r--r-- | core/locale.lua | 2 |
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() |