emacs-diffs
[Top][All Lists]
Advanced

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

master d52035e 3/3: ; Fix typos in last change.


From: Eli Zaretskii
Subject: master d52035e 3/3: ; Fix typos in last change.
Date: Sun, 17 Oct 2021 08:14:28 -0400 (EDT)

branch: master
commit d52035e8b648f5d15e618b81f3a23f8dc55bdc1b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix typos in last change.
---
 src/xdisp.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index c42d689..783ef39 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28674,7 +28674,7 @@ right_overwriting (struct glyph_string *s)
    in the drawing area.
 
    If S->hl is DRAW_CURSOR, S->f is a window system frame, and the
-   cursor in S's window is currently inside mouse face, also uodate
+   cursor in S's window is currently inside mouse face, also update
    S->width to take into account potentially differing :box
    properties between the original face and the mouse face.  */
 
@@ -28705,10 +28705,10 @@ set_glyph_string_background_width (struct 
glyph_string *s, int start, int last_x
          && s->hl == DRAW_CURSOR
          && cursor_in_mouse_face_p (s->w))
        {
-         /* Adjust the background width of the glyph string string,
-            because if the glyph's face has the :box attribute, its
-            pixel_width might be different from the :box attribute of
-            the mouse face.  */
+         /* Adjust the background width of the glyph string, because
+            if the glyph's face has the :box attribute, its
+            pixel_width might be different when it's displayed in the
+            mouse-face, if that also has the :box attribute.  */
          struct glyph *g = s->first_glyph;
          struct face *regular_face = FACE_FROM_ID (s->f, g->face_id);
          s->background_width +=



reply via email to

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