changeset 110440:e71c4e4a16d7

* src/xterm.c (xt_action_hook): Use const.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 20 Sep 2010 14:32:26 +0300
parents c1e130042fa1
children a8b56c7dbb62
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Sep 20 13:20:38 2010 +0200
+++ b/src/ChangeLog	Mon Sep 20 14:32:26 2010 +0300
@@ -1,3 +1,7 @@
+2010-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* xterm.c (xt_action_hook): Use const.
+
 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
 
 	Don't make W32 code conditional on HAVE_SOCKETS, it's always defined.
--- a/src/xterm.c	Mon Sep 20 13:20:38 2010 +0200
+++ b/src/xterm.c	Mon Sep 20 14:32:26 2010 +0300
@@ -4004,7 +4004,7 @@
 		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);