emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c
Date: Mon, 29 May 2006 22:03:01 +0000

Index: emacs/src/w32term.c
diff -u emacs/src/w32term.c:1.244 emacs/src/w32term.c:1.245
--- emacs/src/w32term.c:1.244   Mon May 29 21:52:16 2006
+++ emacs/src/w32term.c Mon May 29 22:03:01 2006
@@ -4950,7 +4950,7 @@
   struct frame *f = XFRAME (WINDOW_FRAME (w));
   HDC hdc;
   RECT rect;
-  int h;
+  int left, top, h;
   struct glyph *cursor_glyph;
   HBRUSH hb = CreateSolidBrush (f->output_data.w32->cursor_pixel);
 
@@ -4961,7 +4961,9 @@
     return;
 
   /* Compute frame-relative coordinates for phys cursor.  */
-  get_phys_cursor_geometry (w, row, cursor_glyph, &rect.left, &rect.top, &h);
+  get_phys_cursor_geometry (w, row, cursor_glyph, &left, &top, &h);
+  rect.left = left;
+  rect.top = top;
   rect.bottom = rect.top + h;
   rect.right = rect.left + w->phys_cursor_width;
 




reply via email to

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