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-25 01:08:21 +0900 |
commit | 79c780ceb923bad0480d5a6b79fcc9cc82a42fb5 (patch) | |
tree | 5e8cca1af176bd9756f3bc4ed19b08ed5ba02240 | |
parent | 63d3e8ba7899eb014b360fedf4632bbc198f5cd1 (diff) | |
download | tdetoys-79c780ceb923bad0480d5a6b79fcc9cc82a42fb5.tar.gz tdetoys-79c780ceb923bad0480d5a6b79fcc9cc82a42fb5.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c53b2fa4e7dbbe86e5431adccd0a7f4ba16008f5)
-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); } } } |