From 15f844ac1f1c8bb89b0ce1d4587ecfe85fa5d107 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 20 Sep 2010 14:32:26 +0300 Subject: [PATCH] * src/xterm.c (xt_action_hook): Use const. --- src/ChangeLog | 4 ++++ src/xterm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 51cb9a2c2ee..0538d1a38bf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-09-20 Dan Nicolaescu + + * xterm.c (xt_action_hook): Use const. + 2010-09-20 Juanma Barranquero Don't make W32 code conditional on HAVE_SOCKETS, it's always defined. diff --git a/src/xterm.c b/src/xterm.c index c1d1aada530..f9dd21c87fe 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4004,7 +4004,7 @@ xt_action_hook (Widget widget, XtPointer client_data, String action_name, XEvent *event, String *params, Cardinal *num_params) { int scroll_bar_p; - char *end_action; + const char *end_action; #ifdef USE_MOTIF scroll_bar_p = XmIsScrollBar (widget); -- 2.39.2