aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 903bdaabf3b..69e495d8d8b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -579,7 +579,7 @@ margin_glyphs_to_reserve (w, total_glyphs, margin)
579 int width = XFASTINT (w->total_cols); 579 int width = XFASTINT (w->total_cols);
580 double d = max (0, XFLOATINT (margin)); 580 double d = max (0, XFLOATINT (margin));
581 d = min (width / 2 - 1, d); 581 d = min (width / 2 - 1, d);
582 n = (int) ((double) total_glyphs / width * d) * w->ncols_scale_factor; 582 n = (int) ((double) total_glyphs / width * d);
583 } 583 }
584 else 584 else
585 n = 0; 585 n = 0;