]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontutil.cpp
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / os2 / fontutil.cpp
index a1347e8a8e45f83f34009ec76b0e545007398ccf..264d0b7b2d2044013db17ddc7f9425004ee47e15 100644 (file)
@@ -413,7 +413,7 @@ void wxFillLogFont(
         }
         if (*pflId == 0L)
             *pflId = 1L;
         }
         if (*pflId == 0L)
             *pflId = 1L;
-        for(unsigned long LCNum = 0; LCNum < lNumLids; LCNum++)
+        for(unsigned long LCNum = 0; LCNum < (unsigned long)lNumLids; LCNum++)
             if(alIds[LCNum] == *pflId)
                ++*pflId;
         if(*pflId > 254)  // wow, no id available!
             if(alIds[LCNum] == *pflId)
                ++*pflId;
         if(*pflId > 254)  // wow, no id available!