From 84ec7cb34cf05e8fa598931150d464c3853a9f36 Mon Sep 17 00:00:00 2001 From: zorba Date: Sat, 24 Oct 2009 07:03:07 -0700 Subject: [PATCH] let's just make sure the precedence is correct --- menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.lua b/menu.lua index 1199314..9019b51 100644 --- a/menu.lua +++ b/menu.lua @@ -113,7 +113,7 @@ local function Menu_DoHide(self) end local function Menu_ShowAtCursor(self, auto_release) - auto_release = auto_release == nil and true or auto_release + auto_release = (auto_release == nil) and true or auto_release self.auto_release = auto_release -- Add a 'Close Menu' item to the end of the menu, if it's not there already -- 2.11.4.GIT