Skip to content

Commit

Permalink
Merge pull request #363 from lailton/main
Browse files Browse the repository at this point in the history
Fixed issue HB_SCAN for LOGICAL value
  • Loading branch information
FiveTechSoft authored Dec 3, 2024
2 parents 4ae5151 + ccbf3a7 commit 93d6749
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */

2024-12-03 01:27 UTC-0300 Lailton Fernando Mariano (lailton/at/paysoft.com.br)
* src/vm/hashfunc.c
! fixed issue hb_scan when we are looking for a logical value as true.
Many thanks to Marcos Gambeta who found the problem.

2024-10-28 16:57 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rdd/dbf1.c
! reading varchar binary field ("Q:B") from a .dbf
Expand Down
2 changes: 1 addition & 1 deletion src/vm/hashfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ HB_FUNC( HB_HSCAN )
}
else if( HB_IS_LOGICAL( pValue ) )
{
HB_BOOL fValue = hb_itemGetDL( pValue );
HB_BOOL fValue = hb_itemGetL( pValue );
while( nCount-- )
{
PHB_ITEM pItem = hb_hashGetValueAt( pHash, nStart );
Expand Down

0 comments on commit 93d6749

Please sign in to comment.