minor fix

This commit is contained in:
Antonio Linares
2002-10-22 03:10:55 +00:00
parent afd16a155f
commit 99c29f73d5

View File

@@ -57,7 +57,7 @@ FUNCTION AChoice( nTop, nLeft, nBottom, nRight, acItems, xSelect, xUserFunc, nPo
DEFAULT nLeft TO 0 // The leftmost column of the window
DEFAULT nBottom TO MaxRow() // The bottommost row of the window
DEFAULT nRight TO MaxCol() // The rightmost column of the window
DEFAULT acItems TO {} // The items from which to choose
DEFAULT xSelect TO .T. // Array or logical, what is selectable
DEFAULT nPos TO 1 // The number of the selected item
@@ -69,7 +69,7 @@ FUNCTION AChoice( nTop, nLeft, nBottom, nRight, acItems, xSelect, xUserFunc, nPo
ENDIF
IF nBottom > MaxRow()
nBorrom := MaxRow()
nBottom := MaxRow()
ENDIF
nNumRows := nBottom - nTop + 1