From 1d254f8b115d9f6d255a78be4999469581ed9c14 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 --- libisoburn/trunk/xorriso/text_io.c | 2 ++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/text_io.c b/libisoburn/trunk/xorriso/text_io.c index d2146d23..45a93c8d 100644 --- a/libisoburn/trunk/xorriso/text_io.c +++ b/libisoburn/trunk/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/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 46f32c67..b4f8489e 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2010.06.26.114315" +#define Xorriso_timestamP "2010.06.28.100903"