From: José Fonseca Date: Tue, 13 Nov 2012 11:13:38 +0000 (+0000) Subject: trace: Fix thinko on error checking. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=d77719321a250beb62dbbabb93658ffe7eb796e5;p=apitrace trace: Fix thinko on error checking. --- diff --git a/wrappers/trace.py b/wrappers/trace.py index cbdc0c0..bb0f675 100644 --- a/wrappers/trace.py +++ b/wrappers/trace.py @@ -538,7 +538,7 @@ class Tracer: return 'true' if str(function.type) == 'HRESULT': return 'SUCCEEDED(_result)' - return 'false' + return 'true' def serializeArg(self, function, arg): print ' trace::localWriter.beginArg(%u);' % (arg.index,)