aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2004-10-31 00:05:18 +0000
committerKim F. Storm <[email protected]>2004-10-31 00:05:18 +0000
commit35ec832e6396e6c80aaa7954dacf1adfdb3a818a (patch)
treed1f62130495deca31185200ee1b8b58a35d12e2f
parent1a1a0c4c7352752dcb2654ebd046fd7d2449a04e (diff)
(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 903bdaabf3..69e495d8d8 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -579,7 +579,7 @@ margin_glyphs_to_reserve (w, total_glyphs, margin)
int width = XFASTINT (w->total_cols);
double d = max (0, XFLOATINT (margin));
d = min (width / 2 - 1, d);
- n = (int) ((double) total_glyphs / width * d) * w->ncols_scale_factor;
+ n = (int) ((double) total_glyphs / width * d);
}
else
n = 0;