archivers/hog.c
changeset 622 c8e67ca63ad6
parent 591 f31600941752
child 648 5c993684b8f2
child 672 1f7238403f0a
--- a/archivers/hog.c	Mon Dec 29 08:49:58 2003 +0000
+++ b/archivers/hog.c	Mon Dec 29 08:50:21 2003 +0000
@@ -249,10 +249,10 @@
         goto openHog_failed;
     } /* if */
 
-    while( 1 )
+    while (1)
     {
         if (__PHYSFS_platformRead(*fh, buf, 13, 1) != 1)
-            break;             //eof here is ok
+            break; /* eof here is ok */
 
         if (__PHYSFS_platformRead(*fh, &size, 4, 1) != 1)
             goto openHog_failed;
@@ -261,15 +261,15 @@
 
         (*count)++;
 
-        // Skip over entry
+        /* Skip over entry... */
         pos = __PHYSFS_platformTell(*fh);
         if (pos == -1)
             goto openHog_failed;
         if (!__PHYSFS_platformSeek(*fh, pos + size))
             goto openHog_failed;
-    }
+    } /* while */
 
-    // Rewind to start of entries
+    /* Rewind to start of entries... */
     if (!__PHYSFS_platformSeek(*fh, 3))
         goto openHog_failed;
 
@@ -353,7 +353,7 @@
             return(0);
         }
 
-        // Skip over entry
+        /* Skip over entry */
         if (!__PHYSFS_platformSeek(fh, entry->startPos + entry->size))
         {
             __PHYSFS_platformClose(fh);