summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:56:35 +0900
committerMichele Calgaro <[email protected]>2023-11-25 01:08:21 +0900
commit79c780ceb923bad0480d5a6b79fcc9cc82a42fb5 (patch)
tree5e8cca1af176bd9756f3bc4ed19b08ed5ba02240
parent63d3e8ba7899eb014b360fedf4632bbc198f5cd1 (diff)
downloadtdetoys-79c780ceb923bad0480d5a6b79fcc9cc82a42fb5.tar.gz
tdetoys-79c780ceb923bad0480d5a6b79fcc9cc82a42fb5.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5)
-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);
}
}
}