changeset 65461:ef9562ce14ea

(display_mode_element): Be sure to make variables THIS and LISP_STRING point into a string data of ELT.
author Kenichi Handa <handa@m17n.org>
date Mon, 12 Sep 2005 11:50:05 +0000
parents 4880487753ec
children baaeed4bd45f
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Sep 12 10:27:35 2005 +0000
+++ b/src/xdisp.c	Mon Sep 12 11:50:05 2005 +0000
@@ -16171,6 +16171,8 @@
 		else /* c == 0 */
 		  break;
 	      }
+	    this += SDATA (elt) - lisp_string;
+	    lisp_string = SDATA (elt);
 	  }
       }
       break;