]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix sorting bug.
authorMichael Sweet <michael.r.sweet@gmail.com>
Sun, 27 Aug 2017 14:58:06 +0000 (10:58 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Sun, 27 Aug 2017 14:58:06 +0000 (10:58 -0400)
cups/ppd-cache.c

index 1248bc0950efbc438c7766b7251f39be4445af35..925ab80557e3e1c8a434bdfed1729106e53c17a4 100644 (file)
@@ -4046,7 +4046,7 @@ _ppdCreateFromIPP(char   *buffer, /* I - Filename buffer */
 
     for (i = 0; i < (count - 1); i ++)
     {
-      for (j = i + 1; j < count; i ++)
+      for (j = i + 1; j < count; j ++)
       {
         int       ix, iy,               /* First X and Y resolution */
                   jx, jy,               /* Second X and Y resolution */