aboutsummaryrefslogtreecommitdiffstats
path: root/parsetagx.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:37:56 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:37:56 +0000
commit9081b77f56ad759bffbdd134ada3af40054531b4 (patch)
tree85d3d206dc12e88d0b85dfc7c62029337bdfed7c /parsetagx.c
parent[w3m-dev 03570] meta tag in frame (diff)
downloadw3m-9081b77f56ad759bffbdd134ada3af40054531b4.tar.gz
w3m-9081b77f56ad759bffbdd134ada3af40054531b4.zip
[w3m-dev 03571] base=0 -> 10 in toNumber()
* parsetagx.c (toNumber): strtol base=10 From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--parsetagx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsetagx.c b/parsetagx.c
index dad45c8..eaaf1a9 100644
--- a/parsetagx.c
+++ b/parsetagx.c
@@ -1,4 +1,4 @@
-/* $Id: parsetagx.c,v 1.10 2002/10/16 18:11:15 ukai Exp $ */
+/* $Id: parsetagx.c,v 1.11 2002/12/14 15:37:56 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include "indep.h"
@@ -45,7 +45,7 @@ toNumber(char *oval, int *num)
char *ep;
int x;
- x = strtol(oval, &ep, 0);
+ x = strtol(oval, &ep, 10);
if (ep > oval) {
*num = x;