From 4f74838129fa8530384ad4d51053ab86da726116 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 17 Jul 2022 08:47:02 +0000 Subject: [PATCH] Set default sleep value to 10ms. This makes ico look nice again. --- app/ico/ico.c | 2 +- app/ico/man/ico.man | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/ico/ico.c b/app/ico/ico.c index 1104ca64d..1492e730e 100644 --- a/app/ico/ico.c +++ b/app/ico/ico.c @@ -238,7 +238,7 @@ static const char *delta_geom = NULL; /* -delta: amount by which to move object static Polyinfo *poly; /* -obj: the poly to draw */ static int dsync = 0; /* -dsync */ static int xsync = 0; /* -sync */ -static int msleepcount = 0; /* -sleep value in milliseconds*/ +static int msleepcount = 10; /* -sleep value in milliseconds*/ #ifdef MULTITHREAD static int thread_count; #ifdef XMUTEX_INITIALIZER diff --git a/app/ico/man/ico.man b/app/ico/man/ico.man index 0646fa1a5..70319d5b0 100644 --- a/app/ico/man/ico.man +++ b/app/ico/man/ico.man @@ -47,7 +47,8 @@ Don't draw the wire frames. Typically used only when -faces is used. .TP .B -sleep \fIn\fP -Sleep n seconds between each move of the object. +Sleep n seconds between each move of the object (the default value is 0.01, +ie 10ms). .TP .B -obj \fIobject\fP Specify what object to draw.