summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:35 +0900
commitc53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5 (patch)
tree9a4815272f6b2c82c6445cbf60b159dfec846f66
parent36618cb2c5836e1abe7d861f2480ecd9205ad918 (diff)
downloadtdetoys-c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5.tar.gz
tdetoys-c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kmoon/kmoonwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}