[gimp] Bug 732163 - Flipped pixel columns in TGA



commit 35466d6dd0cceaff29109424f6fb94abf1807956
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sun Jul 20 16:16:50 2014 +0200

    Bug 732163 - Flipped pixel columns in TGA
    
    do not flip the central columns twice

 plug-ins/common/file-tga.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-tga.c b/plug-ins/common/file-tga.c
index 45694b7..5024305 100644
--- a/plug-ins/common/file-tga.c
+++ b/plug-ins/common/file-tga.c
@@ -773,7 +773,7 @@ flip_line (guchar   *buf,
 
   alt = buf + (info->bytes * (info->width - 1));
 
-  for (x = 0; x * 2 <= info->width; x++)
+  for (x = 0; x * 2 < info->width; x++)
     {
       for (s = 0; s < info->bytes; ++s)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]