summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-mouse.c')
-rw-r--r--src/gui/curses/gui-curses-mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-mouse.c b/src/gui/curses/gui-curses-mouse.c
index d20ba4ce2..4162ada77 100644
--- a/src/gui/curses/gui-curses-mouse.c
+++ b/src/gui/curses/gui-curses-mouse.c
@@ -255,7 +255,7 @@ gui_mouse_event_code2key (const char *code)
int i, x, y, code_utf8, length;
double diff_x, diff_y, distance, angle, pi4;
static char key[128];
- char *ptr_code;
+ const char *ptr_code;
key[0] = '\0';