Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed pixmap buffer drawing. - st - [fork] customized build of st, the simple …
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit b4f623f9109cc38a87469c6430d5e780e9a01989
parent eab9aad1dcd87ba1721bc63ef987203b7a643c69
Author: AurĂ©lien Aptel <[email protected]>
Date: Sun, 29 Aug 2010 19:41:36 +0200
fixed pixmap buffer drawing.
Diffstat:
M st.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -373,11 +373,11 @@ tscrollup (int n) {
for(i = 0; i < n; i++)
memset(term.line[term.top+i], 0, term.col*sizeof(Glyph));
- for(i = term.top; i <= term.bot-n; i++) {
+ for(i = term.top; i <= term.bot-n; i++) {
temp = term.line[i];
term.line[i] = term.line[i+n];
term.line[i+n] = temp;
- }
+ }
}
void
t@@ -1181,7 +1181,7 @@ draw(int redraw_all) {
char buf[DRAW_BUF_SIZ];
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++) {
base = term.line[y][0];
i = ox = 0;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.