From c91afea4f67b0f7972132103697164dc3bb7a755 Mon Sep 17 00:00:00 2001 From: Raymond Li Date: Wed, 27 Jul 2022 12:56:10 -0400 Subject: [PATCH] Fix inconsistent (date|time)_format length Fixes #266 Caused by f2d155 when I accidentally made these 64 as well when I meant to only do the fonts --- i3lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3lock.c b/i3lock.c index 1435897..b7c320a 100644 --- a/i3lock.c +++ b/i3lock.c @@ -134,8 +134,8 @@ int layout_align = 0; int modif_align = 0; int greeter_align = 0; -char time_format[64] = "%H:%M:%S\0"; -char date_format[64] = "%A, %m %Y\0"; +char time_format[32] = "%H:%M:%S\0"; +char date_format[32] = "%A, %m %Y\0"; char verif_font[64] = "sans-serif\0"; char wrong_font[64] = "sans-serif\0";