[brasero] Fix a very unlikely bug where a block would be missing
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix a very unlikely bug where a block would be missing
- Date: Sun, 22 Nov 2009 21:17:56 +0000 (UTC)
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]