]> code.delx.au - gnu-emacs/commitdiff
Fix cursor display (bug#23993)
authorAlan Third <alan@idiocy.org>
Fri, 15 Jul 2016 20:02:47 +0000 (21:02 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 16 Jul 2016 08:19:05 +0000 (09:19 +0100)
* src/xdisp.c (get_phys_cursor_geometry): Fix invalid C operator.

src/xdisp.c

index 14d6f8fcf93fdca4c78b85abd0af13fc3bd48118..efd5f54fa39f57a6b4c0d9cb32bfa2029c52998f 100644 (file)
@@ -2237,7 +2237,7 @@ get_phys_cursor_geometry (struct window *w, struct glyph_row *row,
   ascent = row->ascent;
   if (row->ascent < glyph->ascent)
     {
-      y =- glyph->ascent - row->ascent;
+      y -= glyph->ascent - row->ascent;
       ascent = glyph->ascent;
     }