* source/rtl/tgetlist.prg

! Corrected minor bug in using Len() on oGet:Buffer,
      where it might be NIL.
    By Ron Pinkas in xHarbour.
This commit is contained in:
Walter Negro
2002-05-24 18:58:14 +00:00
parent 790d35fa34
commit 5463d86367

View File

@@ -406,7 +406,7 @@ METHOD GetPostValidate() CLASS HBGetList
if oGet:PostBlock != NIL
lUpdated := ::lUpdated
SetPos( oGet:Row, oGet:Col + Len( oGet:Buffer ) )
SetPos( oGet:Row, oGet:Col + IIF( oGet:Buffer == NIL, 0, Len( oGet:Buffer ) ) )
lValid := Eval( oGet:PostBlock, oGet )
SetPos( oGet:Row, oGet:Col )
::ShowScoreBoard()