changeset 3909:3d2a9b62e044

[xemacs-hg @ 2007-04-16 14:22:39 by stephent] oops ... this is the intended commit. <871wikv1c5.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Mon, 16 Apr 2007 14:22:52 +0000
parents fbf99e041050
children 3efd841cce37
files src/ChangeLog src/redisplay-x.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Apr 15 21:53:37 2007 +0000
+++ b/src/ChangeLog	Mon Apr 16 14:22:52 2007 +0000
@@ -1,3 +1,8 @@
+2007-04-16  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* redisplay-x.c (separate_textual_runs_nomule): Oops.  We agreed
+	that memcpy didn't work, and used it anyway.  Fix it.
+
 2007-04-15  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* font-mgr.c: Update FSF copyrights.
--- a/src/redisplay-x.c	Sun Apr 15 21:53:37 2007 +0000
+++ b/src/redisplay-x.c	Mon Apr 16 14:22:52 2007 +0000
@@ -145,7 +145,8 @@
   run_storage[0].dimension = 1;
   run_storage[0].charset = Qnil;
 
-  memcpy (text_storage, str, len);
+  while (len--)
+    *text_storage++ = *str++;
   return 1;
 }
 #endif