2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/vm/classes.c
    ! fixed type checking for "string" type. It should be translate
      to character not symbol item type.
This commit is contained in:
Przemyslaw Czerpak
2006-11-08 16:19:59 +00:00
parent 421371a395
commit ef48cb6d96
2 changed files with 9 additions and 1 deletions

View File

@@ -8,6 +8,11 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
Someone should rename the following files into utils/hbpp
ppcomp.c -> hbppcomp.c
pplib.c -> hbpplib.c
ppcore.c -> hbppcore.c
pptable.c -> hbpptable.c
2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/classes.c

View File

@@ -1924,7 +1924,10 @@ static HB_TYPE hb_clsGetItemType( PHB_ITEM pItem )
case 'S':
case 's':
return HB_IT_SYMBOL;
if( hb_strnicmp( hb_itemGetCPtr( pItem ), "str", 3 ) == 0 )
return HB_IT_STRING;
else
return HB_IT_SYMBOL;
}
}
else if( HB_IS_ARRAY( pItem ) )