Commit d709ab5a authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Problems found by Jeff

parent 87ba6420
......@@ -1456,8 +1456,8 @@ void Gfx::opCloseStroke(Object * /*args[]*/, int /*numArgs*/) {
//error(getPos(), "No path in closepath/stroke");
return;
}
state->closePath();
if (state->isPath()) {
state->closePath();
if (state->getStrokeColorSpace()->getMode() == csPattern) {
doPatternStroke();
} else {
......@@ -3953,7 +3953,6 @@ Stream *Gfx::buildImageStream() {
break;
}
dict.dictAdd(key, &obj);
gfree(key);
}
parser->getObj(&obj);
}
......
Supports Markdown
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