[AC21.5] Simplify redisplay-x/separate_textual_runs

Vin Shelton acs at xemacs.org
Sun Apr 15 12:50:05 EDT 2007


Yup - much better!  Please commit.  :-)

  - Vin

On 4/15/07, Stephen J. Turnbull <turnbull at sk.tsukuba.ac.jp> wrote:
> Vin Shelton writes:
>
>  > I think the attached patch broke non-mule display.  Please look at the
>  > attached screenshot; I've also attached my Installation file.
>
> Mea culpa.  Try this patch.
>
> diff --git a/src/redisplay-x.c b/src/redisplay-x.c
> index fe6c089..29d9912 100644
> --- a/src/redisplay-x.c
> +++ b/src/redisplay-x.c
> @@ -145,7 +145,8 @@ separate_textual_runs_nomule (unsigned char *text_storage,
>    run_storage[0].dimension = 1;
>    run_storage[0].charset = Qnil;
>
> -  memcpy (text_storage, str, len);
> +  while (len--)
> +    *text_storage++ = *str++;
>    return 1;
>  }
>  #endif
>


-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



More information about the XEmacs-Beta mailing list