aboutsummaryrefslogtreecommitdiff
path: root/widgets/mbox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/mbox.lua')
-rw-r--r--widgets/mbox.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/mbox.lua b/widgets/mbox.lua
index 475d018..be64e03 100644
--- a/widgets/mbox.lua
+++ b/widgets/mbox.lua
@@ -16,13 +16,13 @@ local helpers = require("vicious.helpers")
module("vicious.widgets.mbox")
+-- Initialize variables
+local subject = "N/A"
+
-- {{{ Mailbox widget type
local function worker(format, warg)
if not warg then return end
- -- Default value
- local subject = "N/A"
-
-- mbox could be huge, get a 30kb chunk from EOF
if type(warg) ~= "table" then mbox = warg end
-- * attachment could be much bigger than 30kb