diff options
Diffstat (limited to 'solenv/gdb/libreoffice/tl.py')
-rw-r--r-- | solenv/gdb/libreoffice/tl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/gdb/libreoffice/tl.py b/solenv/gdb/libreoffice/tl.py index 22ca3ba57c5f..8e15bfd47a0d 100644 --- a/solenv/gdb/libreoffice/tl.py +++ b/solenv/gdb/libreoffice/tl.py @@ -47,9 +47,9 @@ class ColorPrinter(object): r = self.val['R'] g = self.val['G'] b = self.val['B'] - a = self.val['A'] - if a: - return "rgba(%d, %d, %d, %d)" % (r, g, b, a) + t = self.val['T'] + if t: + return "rgba(%d, %d, %d, %d)" % (r, g, b, 255 - t) else: return "rgb(%d, %d, %d)" % (r, g, b) |