summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2013-05-13 19:30:26 +0200
committerAlbert Astals Cid <aacid@kde.org>2013-05-13 19:30:26 +0200
commit998a9e7c982a72b0e931304b719de40f30094d12 (patch)
treef2b0d3fe86526b86cf54a46ed3ba042c2d1e4013 /splash
parent5e73cb059e27f68b329513de609d52e84d73f8af (diff)
parent73d09cd55f3bd307450c2dd095e039ea39c69cea (diff)
Merge remote-tracking branch 'origin/poppler-0.22'
Conflicts: splash/Splash.cc
Diffstat (limited to 'splash')
-rw-r--r--splash/Splash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index 1f100fee..fd618cd7 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -1494,7 +1494,7 @@ inline void Splash::drawAALine(SplashPipe *pipe, int x0, int x1, int y, GBool ad
#endif
if (t != 0) {
- pipe->shape = (adjustLine) ? div255((int) lineOpacity * aaGamma[t]) : aaGamma[t];
+ pipe->shape = (adjustLine) ? div255((int) lineOpacity * (double)aaGamma[t]) : (double)aaGamma[t];
(this->*pipe->run)(pipe);
updateModX(x);
updateModY(y);