diff options
-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; |