summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ffaca1)
raw | patch | inline | side by side (parent: 0ffaca1)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 29 Jun 2009 00:06:57 +0000 (00:06 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 29 Jun 2009 00:06:57 +0000 (00:06 +0000) |
src/extension/internal/bitmap/imagemagick.cpp | patch | blob | history |
diff --git a/src/extension/internal/bitmap/imagemagick.cpp b/src/extension/internal/bitmap/imagemagick.cpp
index f86d0ec42feeccd2b844ac6635b1b98272084bb1..bfde84e0c4182dda059a564587738b939f1552d7 100644 (file)
image->read(blob);
}
else {
- image->read(xlink);
+ if (!strncmp(xlink, "file://", 7) && strlen(xlink) > 7)
+ image->read(xlink + 7);
+ else
+ image->read(xlink);
}
}