]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (xt_action_hook): Use const.
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 20 Sep 2010 11:32:26 +0000 (14:32 +0300)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 20 Sep 2010 11:32:26 +0000 (14:32 +0300)
src/ChangeLog
src/xterm.c

index 51cb9a2c2eecffa172d693ff3c705f0188121290..0538d1a38bf88ed90e995dd022542602688f41a6 100644 (file)
@@ -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.
index c1d1aada530b9e00004f7cb5e2649c4e4a70d796..f9dd21c87fe02627b5ee4dcf7d591b190419d99d 100644 (file)
@@ -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);