updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gazelle-git / 2.patch
blob408596048ddf8ebf065b9c5103a889942a42c3fc
1 diff --git a/sketches/dump_to_html.lua b/sketches/dump_to_html.lua
2 index 5fb8f7d..e70b102 100644
3 --- a/sketches/dump_to_html.lua
4 +++ b/sketches/dump_to_html.lua
5 @@ -160,6 +160,7 @@ function dump_to_html(src_file, grammar, dir)
6 intfa_file:close()
7 os.execute(string.format("dot -Tpng -o %s %s", png_file, dot_file))
8 local w = 800
9 + local h = 600
10 if have_imagemagick then
11 local img_info = io.popen(string.format("identify %s", png_file)):read("*a")
12 w, h = string.match(img_info, "[^ ]+ [^ ]+ (%d+)x(%d+)")