summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-03-24 13:57:58 -0400
committerAdam Jackson <ajax@redhat.com>2016-05-17 15:04:56 -0400
commit7bc5c7f58685e67985b3da1722391432fdd9ba31 (patch)
tree02d3088454ed2c72fb89c056743e9186badc9bc9 /src/mapi
parent1e93b0caa10d9d9090eaa3bd517a5144930f28a4 (diff)
glapi: Fix whitespace droppings when printing the license header
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/gl_XML.py2
1 files changed, 1 insertions, 1 deletions
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: