diff src/redisplay-x.c @ 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 7bde3a686fda
children 11daf37dae4d
line wrap: on
line diff
--- 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