summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-07-16 16:35:47 +0200
committerChristoph Lohmann <20h@r-36.net>2012-07-16 16:35:47 +0200
commite28d27249e4c24a8f9c131911536d99b5b6c4587 (patch)
tree3421ec105c8580e4d5638d6248009e25fcae5e36 /surf.c
parent635ed55fda3c19828058cf863a7fbb421391904f (diff)
downloadsurf-e28d27249e4c24a8f9c131911536d99b5b6c4587.tar.gz
surf-e28d27249e4c24a8f9c131911536d99b5b6c4587.tar.bz2
surf-e28d27249e4c24a8f9c131911536d99b5b6c4587.zip
Surf now parses hex window ids properly from tabbed.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index f7cba3e..48a691a 100644
--- 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;