[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1092
Date : Wed May 17 00:06:58 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/progress.cpp
Fixed vanity wait-loop not to hog CPU
Diff:
Index: Trunk/XaraLX/wxOil/progress.cpp
===================================================================
--- Trunk/XaraLX/wxOil/progress.cpp (revision 1091)
+++ Trunk/XaraLX/wxOil/progress.cpp (revision 1092)
@@ -859,7 +859,7 @@
MonotonicTime Timer;
while (!Timer.Elapsed(150))
- /* wait */ ;
+ ::wxMilliSleep(20); /* wait */
}
// Make sure everything is reset properly
Xara