mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Fixed a bug: Attribute numbers were not correctly read.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4350 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
07c25db768
commit
1122ddb05a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user