From 4c9f3f02c0e1a9be5567649f5c97d6638033f74f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:55:57 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08) --- kimgio/ico.cpp | 2 +- kimgio/xcf.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kimgio') 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)); } -- cgit v1.2.1