[hackers] [surf] Surf now parses hex window ids properly from tabbed. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Mon, 16 Jul 2012 16:35:59 +0200 (CEST)

changeset: 245:7fe5e1810a81
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Mon Jul 16 16:35:47 2012 +0200
files: surf.c
description:
Surf now parses hex window ids properly from tabbed.


diff -r 5596ef69d425 -r 7fe5e1810a81 surf.c
--- a/surf.c Thu Jul 12 12:41:56 2012 +0200
+++ b/surf.c Mon Jul 16 16:35:47 2012 +0200
_AT_@ -857,7 +857,7 @@
                 switch(argv[i][1]) {
                 case 'e':
                         if(++i < argc)
- embed = atoi(argv[i]);
+ embed = strtol(argv[i], NULL, 0);
                         else
                                 usage();
                         break;
Received on Mon Jul 16 2012 - 16:35:59 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 16 2012 - 16:36:10 CEST