archivers/zip.c
branchstable-1.0
changeset 716 79f7909d5437
parent 579 4170811a0439
child 766 3970811e14f4
--- a/archivers/zip.c	Wed Jul 13 15:23:02 2005 +0000
+++ b/archivers/zip.c	Sat Jul 23 21:46:46 2005 +0000
@@ -1208,9 +1208,9 @@
         if (rc == 0)
         {
             char ch = name[dlen];
-            if (ch < '/') /* make sure this isn't just a substr match. */
+            if ('/' < ch) /* make sure this isn't just a substr match. */
                 rc = -1;
-            else if (ch > '/')
+            else if ('/' > ch)
                 rc = 1;
             else 
             {