From c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:56:35 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro --- kmoon/kmoonwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmoon/kmoonwidget.cpp b/kmoon/kmoonwidget.cpp index e25860e..711beaf 100644 --- a/kmoon/kmoonwidget.cpp +++ b/kmoon/kmoonwidget.cpp @@ -336,7 +336,7 @@ void MoonWidget::renderGraphic() TQRgb *destline = (TQRgb*)dest.scanLine(y); TQRgb *sourceline = (TQRgb*)Mask2.scanLine(y); for (int x = 0; x < mw; x++) { - destline[x] = (destline[x] & TQRGB_MASK)|(tqRed(sourceline[x]) << 24); + destline[x] = (destline[x] & TQT_RGB_MASK)|(tqRed(sourceline[x]) << 24); } } }