Skip to content

Commit

Permalink
Small fix for svg parameter replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 29, 2011
1 parent 3ca7458 commit 93158e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/symbology-ng/qgssvgcache.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 93158e7

Please sign in to comment.