From e8691ed4d2caf87355decf48d47adc172c6c0c04 Mon Sep 17 00:00:00 2001 From: Walter Negro Date: Thu, 30 May 2002 03:51:35 +0000 Subject: [PATCH] * contrib/libct/color.prg ! Fix, the color string was inverted. --- harbour/contrib/libct/color.prg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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