[gimp] plug-ins: fix coding style from MR !472.



commit 54bd8c8763898b5a6886eaf9f6fb1395d76ab4eb
Author: Jehan <jehan girinstud io>
Date:   Tue Oct 12 17:44:40 2021 +0200

    plug-ins: fix coding style from MR !472.
    
    Normally we'd prefer to have the contributor fix their commits directly,
    but we had no responses.

 plug-ins/common/file-gif-load.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-gif-load.c b/plug-ins/common/file-gif-load.c
index 22adc63460..8af262696c 100644
--- a/plug-ins/common/file-gif-load.c
+++ b/plug-ins/common/file-gif-load.c
@@ -911,10 +911,11 @@ LZWReadByte (FILE *fd,
 
       while (code >= clear_code && sp < &(stack[STACK_SIZE]))
         {
-          if (code >= (1 << MAX_LZW_BITS)) {
+          if (code >= (1 << MAX_LZW_BITS))
+            {
               g_message ("Invalid table entry.  Corrupt file.");
               return -1;
-          }
+            }
           *sp++ = table[1][code];
           if (code == table[0][code])
             {


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