From ef8367364ed3107f104fec38ca3a4eb14e5e5522 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 31 Dec 2023 13:47:54 -0600 Subject: [PATCH] Constify tooltip string pointer --- tray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tray.h b/tray.h index 26d1426..2cdf8c5 100644 --- a/tray.h +++ b/tray.h @@ -10,7 +10,7 @@ struct tray_menu; struct tray { const char *icon; - char *tooltip; + const char *tooltip; struct tray_menu *menu; };