From e931bee328da0586759a427dfe0a5410d32ddf28 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 21 Oct 2010 18:00:00 +0200 Subject: status: fix pointer to be const --- src/interface.c | 2 +- src/interface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/interface.c b/src/interface.c index 344fcea..a4a03cb 100644 --- a/src/interface.c +++ b/src/interface.c @@ -310,7 +310,7 @@ void interface_clear(void) endwin(); } -void status(gchar *msg) +void status(const gchar *msg) { static gchar *save = NULL; if (msg != NULL) { diff --git a/src/interface.h b/src/interface.h index 69483a7..2f48f28 100644 --- a/src/interface.h +++ b/src/interface.h @@ -11,6 +11,6 @@ gboolean get_input(gpointer); void interface_init(void); gboolean interface_resize(gpointer); void interface_clear(void); -void status(gchar *); +void status(const gchar *); #endif -- cgit