1
0
mirror of https://github.com/KanjiVG/kanjivg.git synced 2026-03-27 01:23:10 +01:00

Small fix

This commit is contained in:
Alexandre Courbot
2011-04-04 21:54:02 +09:00
parent c382d2ea06
commit 113866b032

View File

@@ -101,7 +101,8 @@ class StrokeGr:
self.childs = []
def toSVG(self, out, rootId, groupCpt = [0], strCpt = [1], indent = 0):
gid = rootId + "-g" + str(groupCpt[0])
gid = rootId
if groupCpt[0] != 0: gid += "-g" + str(groupCpt[0])
groupCpt[0] += 1
idString = ' id="%s"' % (gid)