[brasero] Fix a very unlikely bug where a block would be missing



commit c520ac822d196d3b46d22849686daed61e84af9d
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sun Nov 22 17:19:13 2009 +0100

    Fix a very unlikely bug where a block would be missing

 src/brasero-time-button.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-time-button.c b/src/brasero-time-button.c
index 5d22c18..6d3cc5e 100644
--- a/src/brasero-time-button.c
+++ b/src/brasero-time-button.c
@@ -178,7 +178,8 @@ brasero_time_button_set_max (BraseroTimeButton *self,
 	gint64 frames;
 
 	priv = BRASERO_TIME_BUTTON_PRIVATE (self);
-	if (max > 1000000000)
+
+	if (max >= 1000000000)
 		frames = (max % 1000000000) * 75;
 	else
 		frames = max * 75;



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