Fix indentation levels.

SVN revision: 36028
This commit is contained in:
Gustavo Sverzut Barbieri 2008-09-16 21:11:38 +00:00
parent aef095031b
commit b85bedb940
1 changed files with 11 additions and 11 deletions

View File

@ -142,14 +142,14 @@ collections {
oy2 = y2 - self.h * ry2 oy2 = y2 - self.h * ry2
self.out.write("""\ self.out.write("""\
rel1 { rel1 {
relative: %03.1f %03.1f; relative: %03.1f %03.1f;
offset: %d %d; offset: %d %d;
} }
rel2 { rel2 {
relative: %03.1f %03.1f; relative: %03.1f %03.1f;
offset: %d %d; offset: %d %d;
} }
""" % (rx1, ry1, ox1, oy1, rx2, ry2, ox2, oy2)) """ % (rx1, ry1, ox1, oy1, rx2, ry2, ox2, oy2))
@ -179,14 +179,14 @@ collections {
self.out.write("""\ self.out.write("""\
description { description {
state: "default" 0.0; state: "default" 0.0;
""") """)
if self.show_min: if self.show_min:
self.out.write(" min: %(w)d %(h)d;\n" % info) self.out.write(" min: %(w)d %(h)d;\n" % info)
if self.show_max: if self.show_max:
self.out.write(" max: %(w)d %(h)d;\n" % info) self.out.write(" max: %(w)d %(h)d;\n" % info)
self.output_part_desc_rel(x, y, w, h) self.output_part_desc_rel(x, y, w, h)
self.out.write("""\ self.out.write("""\