[w3m-dev 03571] base=0 -> 10 in toNumber()
* parsetagx.c (toNumber): strtol base=10 From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
@@ -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 $
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user