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 (-3 / +3 lines)
Line  Link Here
0
-- qtcurve-1.8.18/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
    } else if (isnan(amount)) {
253
    } else if (std::isnan(amount)) {
254
        return *base;
254
        return *base;
255
    }
255
    }
256
    const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()};
256
    const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()};
Lines 267-273 qtcColorMix(const QColor *c1, const QCol Link Here
267
        return *c1;
267
        return *c1;
268
    } else if (bias >= 1.0) {
268
    } else if (bias >= 1.0) {
269
        return *c2;
269
        return *c2;
270
    } else if (isnan(bias)) {
270
    } else if (std::isnan(bias)) {
271
        return *c1;
271
        return *c1;
272
    }
272
    }
273
    const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};
273
    const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};

Return to bug 523980