diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 18:33:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 18:33:16 -0600 |
commit | 3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62 (patch) | |
tree | 22d974e6334f1ed64d7e6c31ffe9b79778dc78f1 /tdefx/kpixmap.cpp | |
parent | 7120e84c0b1a203827ac6fe9cd64748a5e5e7cab (diff) | |
download | tdelibs-3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62.tar.gz tdelibs-3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62.zip |
Fix tdelibs FTBFS
Diffstat (limited to 'tdefx/kpixmap.cpp')
-rw-r--r-- | tdefx/kpixmap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdefx/kpixmap.cpp b/tdefx/kpixmap.cpp index 152ae6e83..ae28efb9d 100644 --- a/tdefx/kpixmap.cpp +++ b/tdefx/kpixmap.cpp @@ -98,7 +98,7 @@ static bool kdither_32_to_8( const TQImage *src, TQImage *dst ) // Bi-directional error diffusion if ( y&1 ) { for (x=0; x<sw; x++) { - int pix = QMAX(QMIN(2, (l1[x] * 2 + 128)/ 255), 0); + int pix = TQMAX(TQMIN(2, (l1[x] * 2 + 128)/ 255), 0); int err = l1[x] - pix * 255 / 2; pv[chan][x] = pix; @@ -113,7 +113,7 @@ static bool kdither_32_to_8( const TQImage *src, TQImage *dst ) } } else { for (x=sw; x-->0; ) { - int pix = QMAX(QMIN(2, (l1[x] * 2 + 128)/ 255), 0); + int pix = TQMAX(TQMIN(2, (l1[x] * 2 + 128)/ 255), 0); int err = l1[x] - pix * 255 / 2; pv[chan][x] = pix; @@ -357,7 +357,7 @@ bool KPixmap::checkColorTable( const TQImage &image ) } - QRgb* ctable = image.tqcolorTable(); + TQRgb* ctable = image.tqcolorTable(); int ncols = image.numColors(); int j; |