aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 44cb7130119..44a317b5785 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -22292,7 +22292,13 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
22292 if (metrics_upper.width >= metrics_lower.width) 22292 if (metrics_upper.width >= metrics_lower.width)
22293 lower_xoff = (width - metrics_lower.width) / 2; 22293 lower_xoff = (width - metrics_lower.width) / 2;
22294 else 22294 else
22295 upper_xoff = (width - metrics_upper.width) / 2; 22295 {
22296 /* FIXME: This code doesn't look right. It formerly was
22297 missing the "lower_xoff = 0;", which couldn't have
22298 been right since it left lower_xoff uninitialized. */
22299 lower_xoff = 0;
22300 upper_xoff = (width - metrics_upper.width) / 2;
22301 }
22296 } 22302 }
22297 22303
22298 /* +5 is for horizontal bars of a box plus 1-pixel spaces at 22304 /* +5 is for horizontal bars of a box plus 1-pixel spaces at