Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
(from parent 1:
00ba696
)
merge.
author
Aurélien Aptel <
[email protected]
>
Fri, 26 Nov 2010 21:12:54 +0000
(22:12 +0100)
committer
Aurélien Aptel <
[email protected]
>
Fri, 26 Nov 2010 21:12:54 +0000
(22:12 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
8e3d72f
..
e988696
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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;