From 7aed8f9fe76a612ac27f4ee03e285fe0850eca8a Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Sun, 17 Feb 2019 18:40:23 -0500 Subject: [PATCH] Update AardClock2.0_Beta.xml --- AardClock2.0_Beta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AardClock2.0_Beta.xml b/AardClock2.0_Beta.xml index da81b2e..384984a 100644 --- a/AardClock2.0_Beta.xml +++ b/AardClock2.0_Beta.xml @@ -280,7 +280,7 @@ require 'mw_theme_base' end function center(t) - local twid = WindowTextWidth(win, font, t) + local twid = WindowTextWidth(win, font, t or 0) local cdiff = window_width - twid return cdiff/2