fixed pixmap buffer drawing.

dev
Aurélien Aptel 2010-08-29 19:41:36 +02:00
parent eab9aad1dc
commit b4f623f910
1 changed files with 3 additions and 3 deletions

2
st.c
View File

@ -1181,7 +1181,7 @@ draw(int redraw_all) {
char buf[DRAW_BUF_SIZ]; char buf[DRAW_BUF_SIZ];
XSetForeground(xw.dis, dc.gc, dc.col[DefaultBG]); XSetForeground(xw.dis, dc.gc, dc.col[DefaultBG]);
XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.w, xw.h); XFillRectangle(xw.dis, xw.buf, dc.gc, 0, 0, xw.bufw, xw.bufh);
for(y = 0; y < term.row; y++) { for(y = 0; y < term.row; y++) {
base = term.line[y][0]; base = term.line[y][0];
i = ox = 0; i = ox = 0;