* contrib/libct/color.prg
! Fix, the color string was inverted.
This commit is contained in:
@@ -112,8 +112,8 @@ FUNCTION NTOCOLOR( nColor, lChar )
|
||||
|
||||
if valtype( nColor ) == "N" .and. nColor > 0 .and. nColor < 256
|
||||
|
||||
nColorFore = INT( nColor / 16 )
|
||||
nColorBack = nColor % 16
|
||||
nColorFore = nColor % 16
|
||||
nColorBack = INT( nColor / 16 )
|
||||
|
||||
if !lChar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user