From: Christoph Lohmann <20h@r-36.net> Date: Mon, 16 Jul 2012 14:35:47 +0000 (+0200) Subject: Surf now parses hex window ids properly from tabbed. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=e28d27249e4c24a8f9c131911536d99b5b6c4587;p=surf.git Surf now parses hex window ids properly from tabbed. --- 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;