# HG changeset patch # User stephent # Date 1176733372 0 # Node ID 3d2a9b62e0446505f31b8f1ebf762bd0d2134c38 # Parent fbf99e0410501c84a2ff115fefadbacaa42c58b0 [xemacs-hg @ 2007-04-16 14:22:39 by stephent] oops ... this is the intended commit. <871wikv1c5.fsf@uwakimon.sk.tsukuba.ac.jp> diff -r fbf99e041050 -r 3d2a9b62e044 src/ChangeLog --- 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 + + * 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 * font-mgr.c: Update FSF copyrights. diff -r fbf99e041050 -r 3d2a9b62e044 src/redisplay-x.c --- 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