From e28d27249e4c24a8f9c131911536d99b5b6c4587 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Mon, 16 Jul 2012 16:35:47 +0200 Subject: Surf now parses hex window ids properly from tabbed. --- surf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3