diff options
Diffstat (limited to 'kmoon/kmoonwidget.cpp')
-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); } } } |