Supressing "Thank you for being patient" with times smaller than 2

This commit is contained in:
Thomas Schmitt 2010-06-28 10:09:49 +00:00
parent 6f371778c6
commit f0a9a0e29a
2 changed files with 3 additions and 1 deletions

View File

@ -1918,6 +1918,8 @@ int Xorriso_pacifier_callback(struct XorrisO *xorriso, char *what_done,
strcat(byte_text, ")"); strcat(byte_text, ")");
} }
if(count<=0.0 && !(flag&2)) { if(count<=0.0 && !(flag&2)) {
if(since < 2)
return(2);
sprintf(xorriso->info_text, sprintf(xorriso->info_text,
"Thank you for being patient for %.f seconds", since); "Thank you for being patient for %.f seconds", since);
} else if(todo<=0.0) { } else if(todo<=0.0) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.06.26.114315" #define Xorriso_timestamP "2010.06.28.100903"