Fixing the calculation of the base tty pixel size.

This commit is contained in:
Christoph Lohmann 2012-11-21 20:38:15 +01:00
parent cf04354e06
commit b26df1d0d3
1 changed files with 8 additions and 8 deletions

4
st.c
View File

@ -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);
} }