diff --git a/vlib/clipboard/clipboard_windows.c.v b/vlib/clipboard/clipboard_windows.c.v index 6e06e00df5..bc43507cac 100644 --- a/vlib/clipboard/clipboard_windows.c.v +++ b/vlib/clipboard/clipboard_windows.c.v @@ -73,7 +73,7 @@ fn (cb &Clipboard) get_clipboard_lock() bool { } else if last_error != u32(C.ERROR_ACCESS_DENIED) { return false } - time.sleep(cb.retry_delay) + time.wait(cb.retry_delay * time.second) } C.SetLastError(last_error) return false