From 7785897657cd9c3a5e1483ebacad73939f375a7e Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 27 Mar 2014 13:45:29 -0400 Subject: Added basic project support for snapopen and build scripts. Also fixed some curses errors introduced by the last commit. --- core/ui.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/ui.lua') diff --git a/core/ui.lua b/core/ui.lua index 6ebd28b1..3aa30855 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -28,7 +28,7 @@ local ui = ui -- The default value is `true`. -- @field SILENT_PRINT (bool) -- Whether or not to print messages to buffers silently. --- The default value is `false`, and focuses buffers when messages are printed +-- The default value is `false`, and focuses buffers when messages are printed -- to them. module('ui')]] @@ -94,8 +94,8 @@ ui.dialogs = setmetatable({}, {__index = function(t, k) return function(options) if not options.button1 then options.button1 = _L['_OK'] end local select = options.select - if type(select) == 'number' then - options.select = select - 1 + if type(select) == 'number' then + options.select = select - 1 elseif type(select) == 'table' then for i = 1, #select do select[i] = select[i] - 1 end end -- cgit v1.2.3