diff options
author | Aurélien Aptel | 2010-11-26 22:12:54 +0100 |
---|---|---|
committer | Aurélien Aptel | 2010-11-26 22:12:54 +0100 |
commit | 2b44fff3f126ef92d1523417b7a7728a5d5c370d (patch) | |
tree | abd241cdc7a724c463417485e46ffc5b7f5c5966 /st.c | |
parent | be55b7eb2ed04372e88035c7fb65955c57728ca0 (diff) | |
parent | 199e38d599022b24b52a78dccaf1689062a3b5d4 (diff) | |
download | aur-2b44fff3f126ef92d1523417b7a7728a5d5c370d.tar.gz |
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; |