From 85a0bdd3d8038636fa2bd99be7ebece34c8b8704 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 30 Jul 1996 15:55:38 +0000 Subject: [PATCH] Corretto colore sbagliato nei rettangoli 3d git-svn-id: svn://10.65.10.50/trunk@3300 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/xvtility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xvtility.cpp b/include/xvtility.cpp index fc3b30e0e..1b6b93643 100755 --- a/include/xvtility.cpp +++ b/include/xvtility.cpp @@ -666,7 +666,7 @@ void xvt_draw_rect(WINDOW win, const RCT& rect, COLOR lt, COLOR rb, short depth) PNT p; // Current vertex of the rectangle bool drawn = FALSE; - if (lt != BTN_BACK_COLOR) + if (lt != MASK_BACK_COLOR) { p.h = r.left; p.v = r.bottom; xvt_dwin_draw_set_pos(win, p); @@ -678,7 +678,7 @@ void xvt_draw_rect(WINDOW win, const RCT& rect, COLOR lt, COLOR rb, short depth) drawn = TRUE; } - if (rb != BTN_BACK_COLOR) + if (rb != MASK_BACK_COLOR) { if (pen.color != rb) {