From 1122ddb05aef4161877d6e8da702aa05baaef4de Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 8 Oct 2009 17:54:23 +0000 Subject: [PATCH] Fixed a bug: Attribute numbers were not correctly read. git-svn-id: svn://svn.cc65.org/cc65/trunk@4350 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/sim65/cfgdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim65/cfgdata.c b/src/sim65/cfgdata.c index fc1d428bd..5c33ea2a7 100644 --- a/src/sim65/cfgdata.c +++ b/src/sim65/cfgdata.c @@ -217,7 +217,7 @@ int CfgDataGetNum (Collection* Attributes, const char* Name, long* Val) * true. If not found, return false. */ { - CfgData* D = CfgDataGetTyped (Attributes, Name, CfgDataString); + CfgData* D = CfgDataGetTyped (Attributes, Name, CfgDataNumber); if (D == 0) { /* Not found or wrong type */ return 0; -- 2.39.5