diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
commit | 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch) | |
tree | aeb6e8f7de0507196578a04a8bdc804284d9fc80 /kimgio | |
parent | 17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff) | |
download | tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.tar.gz tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kimgio')
-rw-r--r-- | kimgio/ico.cpp | 2 | ||||
-rw-r--r-- | kimgio/xcf.cpp | 2 |
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)); } |