diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-26 22:12:54 +0100 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-11-26 22:12:54 +0100 |
commit | 3cf9c2736c8e47f2912280b89874f79009026752 (patch) | |
tree | 75ea42e9d785a1f0f3382dcc5d7b1334fed5bf59 /st.c | |
parent | c1f5b697a80879ac465c2a498c3bf33f1058f377 (diff) | |
parent | 94ddc3e0c480c59941599605bb52b4a96fff72bf (diff) | |
download | st-3cf9c2736c8e47f2912280b89874f79009026752.tar.gz st-3cf9c2736c8e47f2912280b89874f79009026752.tar.bz2 |
merge.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ #if defined(__linux) #include <pty.h> -#elif defined(__OpenBSD__) || defined(__NetBSD__) +#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) #include <util.h> #elif defined(__FreeBSD__) || defined(__DragonFly__) #include <libutil.h> @@ -405,7 +405,7 @@ bpress(XEvent *e) { void selcopy(void) { char *str, *ptr; - int ls, x, y, sz, sl; + int x, y, sz, sl, ls = 0; if(sel.bx == -1) str = NULL; |