diff options
author | Ivo Danihelka <ivo@danihelka.net> | 2013-07-23 14:27:44 +0400 |
---|---|---|
committer | Ivo Danihelka <ivo@danihelka.net> | 2013-07-23 14:27:44 +0400 |
commit | eb7af45e2488a45a6458d1fdec5667edb84a58a8 (patch) | |
tree | ac718ba83c0b23b283f97922b632276815587fae /init.lua | |
parent | 4185765bbe5653a2bb05c5891679881a7b3c3d42 (diff) |
Used a local var for str.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ end function Graph:todot(title) local nodes = self.nodes local edges = self.edges - str = {} + local str = {} table.insert(str,'digraph G {\n') if title then table.insert(str,'labelloc="t";\nlabel="' .. title .. '";\n') |