From 49f7c5ad68cb9c542cfddee7bed17d207f1fc394 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Fri, 15 Jul 2016 21:02:47 +0100 Subject: [PATCH] Fix cursor display (bug#23993) * src/xdisp.c (get_phys_cursor_geometry): Fix invalid C operator. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 14d6f8fcf93..efd5f54fa39 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; } -- 2.39.5