emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/window.c


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/window.c
Date: Mon, 17 Feb 2003 19:18:04 -0500

Index: emacs/src/window.c
diff -c emacs/src/window.c:1.435 emacs/src/window.c:1.436
*** emacs/src/window.c:1.435    Tue Feb  4 09:03:17 2003
--- emacs/src/window.c  Mon Feb 17 19:18:04 2003
***************
*** 1,6 ****
  /* Window creation, deletion and examination for GNU Emacs.
     Does not include redisplay.
!    Copyright (C) 1985,86,87,93,94,95,96,97,1998,2000, 2001, 2002
     Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
--- 1,6 ----
  /* Window creation, deletion and examination for GNU Emacs.
     Does not include redisplay.
!    Copyright (C) 1985,86,87,93,94,95,96,97,1998,2000, 2001, 2002, 2003
     Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
***************
*** 4194,4199 ****
--- 4194,4208 ----
      {
        int pos = IT_CHARPOS (it);
        int bytepos;
+ 
+       /* If in the middle of a multi-glyph character move forward to
+        the next character.  */
+       if (in_display_vector_p (&it))
+       {
+         ++pos;
+         move_it_to (&it, pos, -1, -1, -1, MOVE_TO_POS);
+       }
+ 
        /* Set the window start, and set up the window for redisplay.  */
        set_marker_restricted (w->start, make_number (pos),
                             w->buffer);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]