From: Adam Jackson Date: Thu, 24 Mar 2016 17:57:58 +0000 (-0400) Subject: glapi: Fix whitespace droppings when printing the license header X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=7bc5c7f58685e67985b3da1722391432fdd9ba31 glapi: Fix whitespace droppings when printing the license header Reviewed-by: Eric Anholt Signed-off-by: Adam Jackson --- diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index 2e7123ec406..e11f6fc371e 100644 --- a/src/mapi/glapi/gen/gl_XML.py +++ b/src/mapi/glapi/gen/gl_XML.py @@ -130,7 +130,7 @@ class gl_print_base(object): % (self.name) print '' print '/*' - print ' * ' + self.license.replace('\n', '\n * ') + print (' * ' + self.license.replace('\n', '\n * ')).replace(' \n', '\n') print ' */' print '' if self.header_tag: