]> code.delx.au - gnu-emacs/blobdiff - src/xdisp.c
Fix cursor display (bug#23993)
[gnu-emacs] / 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;
     }