summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorMathieu Bridon <[email protected]>2018-07-05 15:17:33 +0200
committerDylan Baker <[email protected]>2018-07-06 10:04:55 -0700
commite5a8d51e541376077d3ca72f00eacadab6ac0501 (patch)
treea5db1a3067b05b4c8bbfb8807d89cde611f91597 /src/mapi/glapi/gen
parent0f7b18fa0d353aab0a44082b1aca8d8c00df71a7 (diff)
python: Use spaces, not tabs
Python 3 doesn't allow mixing spaces and tabs in a script, contrarily to Python 2. Signed-off-by: Mathieu Bridon <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/glX_proto_size.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_size.py b/src/mapi/glapi/gen/glX_proto_size.py
index 2b7cefd2357..284ee70e618 100644
--- a/src/mapi/glapi/gen/glX_proto_size.py
+++ b/src/mapi/glapi/gen/glX_proto_size.py
@@ -612,10 +612,10 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
if s == 0: s = 1
sig += "(%u,%u)" % (f.offset_of(p.counter), s)
- if size == '':
- size = p.size_string()
- else:
- size = "safe_add(%s, %s)" % (size, p.size_string())
+ if size == '':
+ size = p.size_string()
+ else:
+ size = "safe_add(%s, %s)" % (size, p.size_string())
# If the calculated signature matches a function that has
# already be emitted, don't emit this function. Instead, add