diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:35 +0900 |
commit | c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5 (patch) | |
tree | 9a4815272f6b2c82c6445cbf60b159dfec846f66 | |
parent | 36618cb2c5836e1abe7d861f2480ecd9205ad918 (diff) | |
download | tdetoys-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.cpp | 2 |
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); } } } |