summaryrefslogtreecommitdiff
path: root/pager.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-12-05 08:38:07 +0100
committerAnton Khirnov <anton@khirnov.net>2022-12-05 08:38:07 +0100
commite1f37cabb462f82a453260b29de2c784b1928d79 (patch)
treeaa3ef4847b6032ab7a55b03cbf9c75592e7a0d8d /pager.lua
parent0e164609bf1386e5c5288ec811b53a1846fadaf6 (diff)
pager: make a variable local
Diffstat (limited to 'pager.lua')
-rw-r--r--pager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pager.lua b/pager.lua
index 9beba18..955657e 100644
--- a/pager.lua
+++ b/pager.lua
@@ -22,7 +22,7 @@ function Page:set_visible(visible, this_screen)
end
function Page:client_remove(client)
- wgt = self._widgets[client]
+ local wgt = self._widgets[client]
if wgt then
self.client_container:remove_widgets(wgt)
end