[hackers] [st] Fixing a compile error. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sat, 22 Dec 2012 19:52:04 +0100

commit 082bab29f3551e5cee332832ff767c3fb65a5cbc
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Dec 22 19:50:02 2012 +0100

    Fixing a compile error.

diff --git a/st.c b/st.c
index d47bebc..8074df9 100644
--- a/st.c
+++ b/st.c
_AT_@ -2530,7 +2530,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
                 xclear(0, (y == 0)? 0 : winy, borderpx,
                         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,
                         ((y >= term.row-1)? xw.h : (winy + xw.ch)));
         }
Received on Sat Dec 22 2012 - 19:52:04 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 22 2012 - 20:00:06 CET