pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635ed55
)
Surf now parses hex window ids properly from tabbed.
author
Christoph Lohmann
<20h@r-36.net>
Mon, 16 Jul 2012 14:35:47 +0000
(16:35 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Mon, 16 Jul 2012 14:35:47 +0000
(16:35 +0200)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
f7cba3e
..
48a691a
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-857,7
+857,7
@@
main(int argc, char *argv[]) {
switch(argv[i][1]) {
case 'e':
if(++i < argc)
- embed =
atoi(argv[i]
);
+ embed =
strtol(argv[i], NULL, 0
);
else
usage();
break;