summaryrefslogtreecommitdiff
path: root/src/gui/gui-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-history.c')
-rw-r--r--src/gui/gui-history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-history.c b/src/gui/gui-history.c
index d7b98d47b..84d7eea93 100644
--- a/src/gui/gui-history.c
+++ b/src/gui/gui-history.c
@@ -44,7 +44,7 @@ int num_history_global = 0;
*/
void
-gui_history_buffer_add (struct t_gui_buffer *buffer, char *string)
+gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string)
{
struct t_gui_history *new_history, *ptr_history;
@@ -94,7 +94,7 @@ gui_history_buffer_add (struct t_gui_buffer *buffer, char *string)
*/
void
-gui_history_global_add (char *string)
+gui_history_global_add (const char *string)
{
struct t_gui_history *new_history, *ptr_history;