Code

fix 1311015
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 23 Feb 2006 20:05:47 +0000 (20:05 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 23 Feb 2006 20:05:47 +0000 (20:05 +0000)
src/extension/internal/ps.cpp

index b2675c3e7d1c5a8d2d835959c47b742555180a66..234aec8e062dc302ea18b466f8f9f624660a86f9 100644 (file)
@@ -660,9 +660,9 @@ PrintPS::print_stroke_style(SVGOStringStream &os, SPStyle const *style)
     {
         int i = 0;
         while (LineSolid && (i < style->stroke_dash.n_dash)) {
-                i++;
                 if (style->stroke_dash.dash[i] > 0.00000001)
                     LineSolid = false;
+                i++;
         }
         if (!LineSolid) {
             os << "[";