diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-06-29 21:05:56 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-06-29 21:05:56 +0000 |
| commit | 55f7e59c13b6fb502a0cfbbe811f2f3f90cc6f80 (patch) | |
| tree | 59cad53c22c3820db30fc96ba21d54f5f0b269fd /src/display/sodipodi-ctrl.cpp | |
| parent | Bitmap image rendering (diff) | |
| download | inkscape-55f7e59c13b6fb502a0cfbbe811f2f3f90cc6f80.tar.gz inkscape-55f7e59c13b6fb502a0cfbbe811f2f3f90cc6f80.zip | |
Fix icons
(bzr r9508.1.7)
Diffstat (limited to 'src/display/sodipodi-ctrl.cpp')
| -rw-r--r-- | src/display/sodipodi-ctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/sodipodi-ctrl.cpp b/src/display/sodipodi-ctrl.cpp index dc79f5969..ed4c91d3b 100644 --- a/src/display/sodipodi-ctrl.cpp +++ b/src/display/sodipodi-ctrl.cpp @@ -392,7 +392,7 @@ sp_ctrl_build_cache (SPCtrl *ctrl) for (int j = 0; j < w; ++j) { int index = i * stride / 4 + j; if (px[index] & 0xff000000) { - px[index] = px[index] ? stroke : fill; + px[index] = (px[index] & 0x00ffffff) ? stroke : fill; } else { px[index] = 0; } |
