From 8bb9f38ec860bd869171969518227cef5594c4fc Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Mon, 14 Apr 2025 15:53:09 -0400 Subject: Make strings const --- mpc-bar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpc-bar.m b/mpc-bar.m index 8011a7f..eb5e9be 100644 --- a/mpc-bar.m +++ b/mpc-bar.m @@ -48,7 +48,7 @@ static NSString *formatTime(unsigned int t) { } struct config { - char *host, *format, *idle_message; + const char *host, *format, *idle_message; int show_queue, show_queue_idle; unsigned port; }; -- cgit v1.2.3