Surf now parses hex window ids properly from tabbed.

This commit is contained in:
Christoph Lohmann 2012-07-16 16:35:47 +02:00
parent 635ed55fda
commit e28d27249e
1 changed files with 1 additions and 1 deletions

2
surf.c
View File

@ -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;