mirror of https://github.com/GNOME/gimp.git
updated so that the code does not add trailing whitespace in generated
2006-01-17 Raphael Quinet <raphael@gimp.org> * app/composite/make-installer.py (print_function_table): updated so that the code does not add trailing whitespace in generated function tables.
This commit is contained in:
parent
7d8998a99c
commit
2219548fe9
|
@ -1,5 +1,9 @@
|
|||
2006-01-17 Raphaël Quinet <raphael@gimp.org>
|
||||
|
||||
* app/composite/make-installer.py (print_function_table): updated
|
||||
so that the code does not add trailing whitespace in generated
|
||||
function tables.
|
||||
|
||||
* (about 130 *.[ch] files): automatically removed trailing
|
||||
whitespace from 3460 lines.
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ def print_function_table(fpout, name, function_table, requirements=[]):
|
|||
for D in filter(lambda pf: pf != "GIMP_PIXELFORMAT_ANY", pixel_format):
|
||||
key = "%s_%s_%s_%s" % (string.lower(mode), pixel_depth_name(A), pixel_depth_name(B), pixel_depth_name(D))
|
||||
if function_table.has_key(key):
|
||||
print >>fpout, ' { %s, %s, %s, %s, %s }, ' % (mode, A, B, D, function_table[key][0])
|
||||
print >>fpout, ' { %s, %s, %s, %s, %s },' % (mode, A, B, D, function_table[key][0])
|
||||
pass
|
||||
pass
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue