Skip to content
Permalink
Browse files

Small fix for svg parameter replacement

  • Loading branch information
mhugent committed Jun 29, 2011
1 parent 3ca7458 commit 93158e78ad99e06004b466fb847e30aa8c9e5b79
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/core/symbology-ng/qgssvgcache.cpp
@@ -366,7 +366,12 @@ void QgsSvgCache::replaceElemParams( QDomElement& elem, const QColor& fill, cons
{
value = QString::number( outlineWidth );
}
newAttributeString.append( key + ":" + value + ";" );

if( entryIt != entryList.constBegin() )
{
newAttributeString.append(";");
}
newAttributeString.append( key + ":" + value );
}
elem.setAttribute( attribute.name(), newAttributeString );
}

0 comments on commit 93158e7

Please sign in to comment.
You can’t perform that action at this time.