aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-12-02 15:38:28 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-12-02 15:38:28 -0500
commit134fdfa3e1622a21049ec1789624c8eb98b76278 (patch)
treef3ff56d9343cb35f7a0a5588f83c0b71ef51d8ef
parent9b36bc80bb856ce60595f8911acabaf03428ab8f (diff)
downloadlite-xl-plugin-manager-134fdfa3e1622a21049ec1789624c8eb98b76278.tar.gz
lite-xl-plugin-manager-134fdfa3e1622a21049ec1789624c8eb98b76278.zip
Fixed uninitialization.PR/welcome-plugin
-rw-r--r--plugins/welcome.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/welcome.lua b/plugins/welcome.lua
index afd28ed..5516568 100644
--- a/plugins/welcome.lua
+++ b/plugins/welcome.lua
@@ -76,7 +76,7 @@ function EmptyView:draw()
local x1, y1 = x, y + ((dh - th) / #buttons)
- local xv
+ local xv = x1
if version_width > title_width then
version = VERSION
version_width = style.font:get_width(version)