summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/ico.cpp2
-rw-r--r--kimgio/xcf.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kimgio/ico.cpp b/kimgio/ico.cpp
index 35cef0282..bf53ecc3b 100644
--- a/kimgio/ico.cpp
+++ b/kimgio/ico.cpp
@@ -233,7 +233,7 @@ namespace
TQRgb* p = reinterpret_cast< TQRgb* >( lines[ y ] );
for ( unsigned x = 0; x < rec.width; ++x, ++p )
if ( ( ( buf[ x / 8 ] >> ( 7 - ( x & 0x07 ) ) ) & 1 ) )
- *p &= TQRGB_MASK;
+ *p &= TQT_RGB_MASK;
}
delete[] buf;
}
diff --git a/kimgio/xcf.cpp b/kimgio/xcf.cpp
index dd243bcce..78af2e995 100644
--- a/kimgio/xcf.cpp
+++ b/kimgio/xcf.cpp
@@ -80,7 +80,7 @@ const XCFImageFormat::LayerModes XCFImageFormat::layer_modes[] = {
//! Change a TQRgb value's alpha only.
inline TQRgb tqRgba ( TQRgb rgb, int a )
{
- return ((a & 0xff) << 24 | (rgb & TQRGB_MASK));
+ return ((a & 0xff) << 24 | (rgb & TQT_RGB_MASK));
}