Added breaks into switch statements.
authorArnar Mar Hrafnkelsson <addi@cpan.org>
Thu, 22 Aug 2002 01:27:14 +0000 (01:27 +0000)
committerArnar Mar Hrafnkelsson <addi@cpan.org>
Thu, 22 Aug 2002 01:27:14 +0000 (01:27 +0000)
tga.c

diff --git a/tga.c b/tga.c
index 80b6066..15d6c0c 100644 (file)
--- a/tga.c
+++ b/tga.c
@@ -337,7 +337,8 @@ tga_header_verify(unsigned char headbuf[18]) {
   case 9:  /* Compressed,   color-mapped images */ 
   case 10: /* Compressed,   rgb images          */ 
   case 11: /* Compressed,   grayscale images    */ 
-  }
+         break;
+       }
 
   switch (header.colourmaptype) { 
   default:
@@ -345,7 +346,8 @@ tga_header_verify(unsigned char headbuf[18]) {
     return 0;
   case 0:
   case 1:
-  }
+       break;
+       }
   
   return 1;
 }