From: Alan Third Date: Fri, 15 Jul 2016 20:02:47 +0000 (+0100) Subject: Fix cursor display (bug#23993) X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/49f7c5ad68cb9c542cfddee7bed17d207f1fc394 Fix cursor display (bug#23993) * src/xdisp.c (get_phys_cursor_geometry): Fix invalid C operator. --- diff --git a/src/xdisp.c b/src/xdisp.c index 14d6f8fcf9..efd5f54fa3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; }