diff options
Diffstat (limited to 'ksvg/impl/SVGWindowImpl.cc')
-rw-r--r-- | ksvg/impl/SVGWindowImpl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksvg/impl/SVGWindowImpl.cc b/ksvg/impl/SVGWindowImpl.cc index 476185f1..f1506c14 100644 --- a/ksvg/impl/SVGWindowImpl.cc +++ b/ksvg/impl/SVGWindowImpl.cc @@ -133,9 +133,9 @@ DOM::DOMString SVGWindowImpl::printNode(const DOM::Node &node, unsigned short le TQDictIterator<DOM::DOMString> it(elem->attributes()); for(;it.current(); ++it) ret += " " + it.currentKey() + "=\"" + it.current()->string() + '\"'; - if(elem->firstChild().isNull()) // no children + if(elem->firstChild().isNull()) // no tqchildren ret += " />\n"; - else // handle children + else // handle tqchildren { ret += ">\n"; for(DOM::Node child = node.firstChild();!child.isNull();child = child.nextSibling()) |