Use Glib::usleep in Editor::timefx_thread on Windows

This commit is contained in:
Tim Mayberry 2014-05-02 20:21:17 +10:00
parent b768d6c39d
commit 8a796bd5e1

View file

@ -403,7 +403,7 @@ Editor::timefx_thread (void *arg)
*/ */
#ifdef PLATFORM_WINDOWS #ifdef PLATFORM_WINDOWS
Sleep(2000); Glib::usleep(2 * G_USEC_PER_SEC);
#else #else
struct timespec t = { 2, 0 }; struct timespec t = { 2, 0 };
nanosleep (&t, 0); nanosleep (&t, 0);