]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/automtn.cpp
final part of SF patch #904166 (DMC fix)
[wxWidgets.git] / src / msw / ole / automtn.cpp
index 6b948f8baa10c68de671672627f3cc72eedcaef5..f80d6d8216e82e79fab9ce60a3c98c714404c8ed 100644 (file)
@@ -1049,7 +1049,8 @@ BOOL TmFromOleDate(DATE dtSrc, struct tm& tmDest)
 
        // Month number always >= n/32, so save some loop time */
        for (tmDest.tm_mon = (n4Day >> 5) + 1;
-               n4Day > rgMonthDays[tmDest.tm_mon]; tmDest.tm_mon++);
+               n4Day > rgMonthDays[tmDest.tm_mon]; tmDest.tm_mon++)
+               ;
 
        tmDest.tm_mday = (int)(n4Day - rgMonthDays[tmDest.tm_mon-1]);