Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 523980 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +9 lines)
Line  Link Here
0
-- qtcurve-1.8.18-orig/lib/utils/color.h
0
++ qtcurve-1.8.18-uclibc/lib/utils/color.h
Lines 250-256 qtcColorTint(const QColor *base, const Q Link Here
250
        return *base;
250
        return *base;
251
    } else if (amount >= 1.0) {
251
    } else if (amount >= 1.0) {
252
        return *col;
252
        return *col;
253
#ifdef __UCLIBC__
254
    } else if (std::isnan(amount)) {
255
#else
253
    } else if (isnan(amount)) {
256
    } else if (isnan(amount)) {
257
#endif
254
        return *base;
258
        return *base;
255
    }
259
    }
256
    const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()};
260
    const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()};
Lines 267-273 qtcColorMix(const QColor *c1, const QCol Link Here
267
        return *c1;
271
        return *c1;
268
    } else if (bias >= 1.0) {
272
    } else if (bias >= 1.0) {
269
        return *c2;
273
        return *c2;
274
#ifdef __UCLIBC__
275
    } else if (std::isnan(bias)) {
276
#else
270
    } else if (isnan(bias)) {
277
    } else if (isnan(bias)) {
278
#endif
271
        return *c1;
279
        return *c1;
272
    }
280
    }
273
    const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};
281
    const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};

Return to bug 523980