Fixing the calculation of the base tty pixel size.

master
Christoph Lohmann 12 years ago
parent cf04354e06
commit b26df1d0d3
  1. 4
      st.c

@ -2182,8 +2182,8 @@ tresize(int col, int row) {
void void
xresize(int col, int row) { xresize(int col, int row) {
xw.tw = MAX(1, 2*borderpx + col * xw.cw); xw.tw = MAX(1, col * xw.cw);
xw.th = MAX(1, 2*borderpx + row * xw.ch); xw.th = MAX(1, row * xw.ch);
XftDrawChange(xw.draw, xw.buf); XftDrawChange(xw.draw, xw.buf);
} }

Loading…
Cancel
Save