about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window_list.c2
-rw-r--r--src/ui/window_list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window_list.c b/src/ui/window_list.c
index 798f4e41..e408a2ac 100644
--- a/src/ui/window_list.c
+++ b/src/ui/window_list.c
@@ -364,7 +364,7 @@ wins_get_by_num(int i)
 }
 
 ProfWin*
-wins_get_by_string(char *str)
+wins_get_by_string(const char *str)
 {
     if (g_strcmp0(str, "console") == 0) {
         ProfWin *conswin = wins_get_console();
diff --git a/src/ui/window_list.h b/src/ui/window_list.h
index 68e72739..ba62ad32 100644
--- a/src/ui/window_list.h
+++ b/src/ui/window_list.h
@@ -68,7 +68,7 @@ ProfWin* wins_get_current(void);
 void wins_set_current_by_num(int i);
 
 ProfWin* wins_get_by_num(int i);
-ProfWin* wins_get_by_string(char *str);
+ProfWin* wins_get_by_string(const char *str);
 
 ProfWin* wins_get_next(void);
 ProfWin* wins_get_previous(void);