correct msg in fatal error
[ardour.git] / gtk2_ardour / editor_timefx.cc
index 33259a398b029c218bb97568d58aa0e6076fd0d3..765030507b649adaf16d916d36ca97fada65f1f8 100644 (file)
@@ -402,8 +402,8 @@ Editor::timefx_thread (void *arg)
            by the GUI ...
         */
 
-#ifdef WIN32
-       Sleep(2000);
+#ifdef PLATFORM_WINDOWS
+       Glib::usleep(2 * G_USEC_PER_SEC);
 #else
         struct timespec t = { 2, 0 };
         nanosleep (&t, 0);