diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-12-18 13:00:00 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-12-18 13:00:00 +0100 |
| commit | 4d37763ee767d0c8bd8425744c3375817967dda3 (patch) | |
| tree | 6199adba874991be4b3f6c2156c999974806bdc9 | |
| parent | Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell! (diff) | |
| download | st-4d37763ee767d0c8bd8425744c3375817967dda3.tar.gz st-4d37763ee767d0c8bd8425744c3375817967dda3.zip | |
Fixing a precedence problem. Thanks tridactyla!
Diffstat (limited to '')
| -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); |
