[office-runner] Anything more or equal to 10 minutes is too long



commit ff811cb0557220da8364b24eec99c9405d69c39d
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 16 13:29:44 2011 +0100

    Anything more or equal to 10 minutes is too long

 src/office-runner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/office-runner.c b/src/office-runner.c
index 56b8e56..8c6ba32 100644
--- a/src/office-runner.c
+++ b/src/office-runner.c
@@ -343,7 +343,7 @@ switch_to_page (OfficeRunner *run,
 		run->timeout = 0;
 
 		label = N_("Try Again");
-		if (run->elapsed > MAX_TIME)
+		if (run->elapsed >= MAX_TIME)
 			text = g_strdup (_("Took too long, sorry!"));
 		else
 			text = elapsed_to_text (run->elapsed);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]