diff --git a/harbour/contrib/libct/color.prg b/harbour/contrib/libct/color.prg index 6b93bc658d..53ca525854 100644 --- a/harbour/contrib/libct/color.prg +++ b/harbour/contrib/libct/color.prg @@ -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