From a366fd76e53ae7a544a46a2cc6ed3e2d031682c8 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 5 Sep 2012 23:34:11 +0200 Subject: [PATCH] Revert "Bug 683381 - Inverted alpha behavior of 16-bit Targa files" This reverts commit dc00fb57a0e50a9231515aa473bccc1e449aed10. --- plug-ins/common/file-tga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/common/file-tga.c b/plug-ins/common/file-tga.c index a490b620e6..c1d05ddaca 100644 --- a/plug-ins/common/file-tga.c +++ b/plug-ins/common/file-tga.c @@ -812,7 +812,7 @@ upsample (guchar *dest, if (alpha) { - dest[3] = (src[1] & 0x80) ? 255 : 0; + dest[3] = (src[1] & 0x80) ? 0 : 255; dest += 4; } else