diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-04-29 12:03:21 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-04-29 12:03:21 +0000 |
| commit | 01ed6d62a228ce560c5ed0976b63609efb7076ac (patch) | |
| tree | 7e56f46331b2b938c411cfe9d63143af3854acaf /src/sp-hatch.cpp | |
| parent | Correct enumeration names. (diff) | |
| download | inkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.tar.gz inkscape-01ed6d62a228ce560c5ed0976b63609efb7076ac.zip | |
SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.
(bzr r14863)
Diffstat (limited to 'src/sp-hatch.cpp')
| -rw-r--r-- | src/sp-hatch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-hatch.cpp b/src/sp-hatch.cpp index 2d938618c..274b73e86 100644 --- a/src/sp-hatch.cpp +++ b/src/sp-hatch.cpp @@ -73,6 +73,7 @@ void SPHatch::build(SPDocument* doc, Inkscape::XML::Node* repr) readAttr("pitch"); readAttr("rotate"); readAttr("xlink:href"); + readAttr("href"); readAttr( "style" ); // Register ourselves @@ -196,6 +197,7 @@ void SPHatch::set(unsigned int key, const gchar* value) break; case SP_ATTR_XLINK_HREF: + case SP_ATTR_HREF: if (value && href == value) { // Href unchanged, do nothing. } else { |
