commit 8bb9f38ec860bd869171969518227cef5594c4fc
parent 848aeac4a71779094fd3cc32dbeda4f81051913b
Author: Spencer Williams <spnw@plexwave.org>
Date: Mon, 14 Apr 2025 15:53:09 -0400
Make strings const
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
};