mirror of
https://github.com/alrayyes/st.git
synced 2024-11-23 03:36:21 +00:00
Fixing a compile error.
This commit is contained in:
parent
ac4c6da4ef
commit
082bab29f3
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -2530,7 +2530,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
||||||
xclear(0, (y == 0)? 0 : winy, borderpx,
|
xclear(0, (y == 0)? 0 : winy, borderpx,
|
||||||
winy + xw.ch + ((y >= term.row-1)? xw.h : 0));
|
winy + xw.ch + ((y >= term.row-1)? xw.h : 0));
|
||||||
}
|
}
|
||||||
if(x + charlen >= term.col)
|
if(x + charlen >= term.col) {
|
||||||
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
|
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
|
||||||
((y >= term.row-1)? xw.h : (winy + xw.ch)));
|
((y >= term.row-1)? xw.h : (winy + xw.ch)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue