Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob
authorJeff Gilbert <jgilbert@mozilla.com>
Thu, 06 Feb 2014 20:33:05 -0500
changeset 185620 90c872abb2bef84bcfb8d58ef9595d66ea5f9eb8
parent 185619 fc09c90aaab15c821fe095c95665d9fb567da3b0
child 185621 707c231b203f62b69af03644830cbccf9a56e7d1
push idunknown
push userunknown
push dateunknown
reviewersbjacob
bugs968617
milestone30.0a1
Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob
gfx/gl/GLParseRegistryXML.py
--- a/gfx/gl/GLParseRegistryXML.py
+++ b/gfx/gl/GLParseRegistryXML.py
@@ -41,32 +41,32 @@ class GLConstHeader:
         elif isinstance(arg, (int, long)):
             self.f.write('\n' * arg)
         else:
             self.f.write(str(arg) + '\n')
 
 
     def formatFileBegin(self):
         self.write([
-                    '/* This Source Code Form is subject to the terms of the Mozilla Public',
-                    ' * License, v. 2.0. If a copy of the MPL was not distributed with this',
-                    ' * file, You can obtain one at http://mozilla.org/MPL/2.0/. */',
-                    '',
-                    '#ifndef GLCONSTS_H_',
-                    '#define GLCONSTS_H_',
-                    '',
-                    '/**',
-                    ' * GENERATED FILE, DO NOT MODIFY DIRECTLY.',
-                    ' * This is a file generated directly from the official OpenGL registry',
-                    ' * xml available http://www.opengl.org/registry/#specfiles.',
-                    ' *',
-                    ' * To generate this file, see tutorial in GLParseRegistry.py',
-                    ' */',
-                    ''
-                   ])
+            '/* This Source Code Form is subject to the terms of the Mozilla Public',
+            ' * License, v. 2.0. If a copy of the MPL was not distributed with this',
+            ' * file, You can obtain one at http://mozilla.org/MPL/2.0/. */',
+            '',
+            '#ifndef GLCONSTS_H_',
+            '#define GLCONSTS_H_',
+            '',
+            '/**',
+            ' * GENERATED FILE, DO NOT MODIFY DIRECTLY.',
+            ' * This is a file generated directly from the official OpenGL registry',
+            ' * xml available http://www.opengl.org/registry/#specfiles.',
+            ' *',
+            ' * To generate this file, see tutorial in \'GLParseRegistryXML.py\'.',
+            ' */',
+            ''
+        ])
 
 
     def formatLibBegin(self, lib):
         # lib would be 'GL', 'EGL', 'GLX' or 'WGL'
         self.write('// ' + lib)
 
 
     def formatLibConstant(self, lib, name, value):