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) {