Commit be913b90 authored by Albert Astals Cid's avatar Albert Astals Cid

* poppler/Function.cc: quick fix for KDE bug #126760

Better solutions are of course accepted
parent 2b085293
2006-05-05 Albert Astals Cid <aacid@kde.org>
* poppler/Function.cc: quick fix for KDE bug #126760
2006-05-04 Albert Astals Cid <aacid@kde.org>
* qt4/src/poppler-qt4.h:
......
......@@ -390,7 +390,7 @@ void SampledFunction::transform(double *in, double *out) {
for (k = 0, t = j; k < m; ++k, t >>= 1) {
idx += idxMul[k] * (e[k][t & 1]);
}
s[j] = samples[idx];
if (idx >= 0 && idx < nSamples) s[j] = samples[idx];
}
// do m sets of interpolations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment