summaryrefslogtreecommitdiffstats
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)
downloadexternal_mesa3d-7bc5c7f58685e67985b3da1722391432fdd9ba31.zip
external_mesa3d-7bc5c7f58685e67985b3da1722391432fdd9ba31.tar.gz
external_mesa3d-7bc5c7f58685e67985b3da1722391432fdd9ba31.tar.bz2
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 2e7123e..e11f6fc 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: