diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:37:56 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:37:56 +0000 |
commit | 9081b77f56ad759bffbdd134ada3af40054531b4 (patch) | |
tree | 85d3d206dc12e88d0b85dfc7c62029337bdfed7c | |
parent | [w3m-dev 03570] meta tag in frame (diff) | |
download | w3m-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | parsetagx.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,10 @@ 2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03571] base=0 -> 10 in toNumber() + * parsetagx.c (toNumber): strtol base=10 + +2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03570] meta tag in frame * frame.c (createFrameFile): fix meta equiv parse in frame @@ -5863,4 +5868,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.621 2002/12/14 15:28:37 ukai Exp $ +$Id: ChangeLog,v 1.622 2002/12/14 15:37:56 ukai Exp $ 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; |