diff options
| -rw-r--r-- | README | 1 | ||||
| -rw-r--r-- | st.c | 4 |
2 files changed, 3 insertions, 2 deletions
| @@ -33,3 +33,4 @@ See the man page for additional details. | |||
| 33 | Credits | 33 | Credits |
| 34 | ------- | 34 | ------- |
| 35 | Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code. | 35 | Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code. |
| 36 | |||
| @@ -2525,11 +2525,11 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { | |||
| 2525 | /* Intelligent cleaning up of the borders. */ | 2525 | /* Intelligent cleaning up of the borders. */ |
| 2526 | if(x == 0) { | 2526 | if(x == 0) { |
| 2527 | xclear(0, (y == 0)? 0 : winy, borderpx, | 2527 | xclear(0, (y == 0)? 0 : winy, borderpx, |
| 2528 | winy + xw.ch + (y == term.row-1)? xw.h : 0); | 2528 | winy + xw.ch + ((y == term.row-1)? xw.h : 0)); |
| 2529 | } | 2529 | } |
| 2530 | if(x + charlen >= term.col-1) { | 2530 | if(x + charlen >= term.col-1) { |
| 2531 | xclear(winx + width, (y == 0)? 0 : winy, xw.w, | 2531 | xclear(winx + width, (y == 0)? 0 : winy, xw.w, |
| 2532 | (y == term.row-1)? xw.h : (winy + xw.ch)); | 2532 | ((y == term.row-1)? xw.h : (winy + xw.ch))); |
| 2533 | } | 2533 | } |
| 2534 | if(y == 0) | 2534 | if(y == 0) |
| 2535 | xclear(winx, 0, winx + width, borderpx); | 2535 | xclear(winx, 0, winx + width, borderpx); |
