From bc116c6ef1473e3ce2d39acf8f98683f64aa983e Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 7 May 2011 16:04:04 +0200 Subject: [PATCH] Fix two minor typos Thanks to anrxc for noticing the graph one. Signed-off-by: Uli Schlachter --- lib/awful/menu.lua.in | 2 +- lib/awful/widget/graph.lua.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 5505bfc8b..08addea13 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -296,7 +296,7 @@ function item_enter(menu, num, opts) end if type(item.cmd) == "table" then - menu:exec(num, otps) + menu:exec(num, opts) end end end diff --git a/lib/awful/widget/graph.lua.in b/lib/awful/widget/graph.lua.in index 1dd74386f..00e619c4c 100644 --- a/lib/awful/widget/graph.lua.in +++ b/lib/awful/widget/graph.lua.in @@ -53,7 +53,7 @@ local data = setmetatable({}, { __mode = "k" }) --- Set the graph to draw stacks. Default is false. -- @name set_stack -- @class function --- @param progressbar The graph. +-- @param graph The graph. -- @param stack A boolean value. --- Set the graph stacking colors. Order matters.