filter/source/svg/js2hxx.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 4b8d8aeec472bd358f4e43e7fc6288644ce2d634 Author: Tor Lillqvist <[email protected]> Date: Fri Nov 23 15:55:56 2012 +0200 We prefix each line with four spaces, not append, but why? Change-Id: Ia654664700b0b9262a5803d2976c22b61e44e758 diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py index 9c24fc4..39164b6 100755 --- a/filter/source/svg/js2hxx.py +++ b/filter/source/svg/js2hxx.py @@ -85,8 +85,7 @@ for line in in_lines: dline = dline.replace( 'ANIMDBG.on', 'ANIMDBG.off' ) dline = dline.replace( 'DebugPrinter.on', 'DebugPrinter.off' ) - # append a 4 spaces indentation to each line - escaped_line = ' %s' % dline + escaped_line = '%s' % dline escaped_line = escaped_line.rstrip() # no more than 2 consecutive empty lines _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
