From f0a9a0e29a07e71f41ee9a35db671f4856f434a8 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 28 Jun 2010 10:09:49 +0000 Subject: [PATCH] Supressing "Thank you for being patient" with times smaller than 2 --- xorriso/text_io.c | 2 ++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xorriso/text_io.c b/xorriso/text_io.c index d2146d23..45a93c8d 100644 --- a/xorriso/text_io.c +++ b/xorriso/text_io.c @@ -1918,6 +1918,8 @@ int Xorriso_pacifier_callback(struct XorrisO *xorriso, char *what_done, strcat(byte_text, ")"); } if(count<=0.0 && !(flag&2)) { + if(since < 2) + return(2); sprintf(xorriso->info_text, "Thank you for being patient for %.f seconds", since); } else if(todo<=0.0) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 46f32c67..b4f8489e 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.06.26.114315" +#define Xorriso_timestamP "2010.06.28.100903"