aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-10-31 00:05:18 +0000
committerKim F. Storm2004-10-31 00:05:18 +0000
commit35ec832e6396e6c80aaa7954dacf1adfdb3a818a (patch)
treed1f62130495deca31185200ee1b8b58a35d12e2f
parent1a1a0c4c7352752dcb2654ebd046fd7d2449a04e (diff)
downloademacs-35ec832e6396e6c80aaa7954dacf1adfdb3a818a.tar.gz
emacs-35ec832e6396e6c80aaa7954dacf1adfdb3a818a.zip
(margin_glyphs_to_reserve): Don't use ncols_scale_factor.
-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;