diff options
Diffstat (limited to 'plot/plot.c')
-rw-r--r-- | plot/plot.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plot/plot.c b/plot/plot.c index e3cd5bf..948cb64 100644 --- a/plot/plot.c +++ b/plot/plot.c @@ -1529,12 +1529,7 @@ static int do_plot_imp( nanosleep(&ts, NULL); } } else if (dowait < 0) { - struct timespec ts; - int msec = -dowait * 1000; - - ts.tv_sec = msec / 1000; - ts.tv_nsec = (msec % 1000) * 1000000; - nanosleep(&ts, NULL); + Sleep(-dowait * 1000); } if (tpool != nil) |