[gnome-subtitles] Code cleanup
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Code cleanup
- Date: Sun, 31 Oct 2010 16:10:15 +0000 (UTC)
commit ba6506a172ae047db759c462a5eabf7055f186ff
Author: Pedro Castro <mail pedrocastro org>
Date: Sun Oct 10 17:18:52 2010 +0100
Code cleanup
src/SubLib/Core/Timing/SyncUtil.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/SubLib/Core/Timing/SyncUtil.cs b/src/SubLib/Core/Timing/SyncUtil.cs
index 8a75c50..3db73b4 100644
--- a/src/SubLib/Core/Timing/SyncUtil.cs
+++ b/src/SubLib/Core/Timing/SyncUtil.cs
@@ -110,13 +110,13 @@ public class SyncUtil {
return baseFrame + ((currentFrame - baseFrame) * factor);
}
- /* Private members */
-
public static bool AreSyncPointsValid (Subtitles subtitles, SyncPoint start, SyncPoint end) {
return AreSyncArgsValid(subtitles, start.SubtitleNumber, start.Correct.Time, end.SubtitleNumber, end.Correct.Time)
&& AreSyncArgsValid(subtitles, start.SubtitleNumber, start.Correct.Frame, end.SubtitleNumber, end.Correct.Frame);
}
+ /* Private members */
+
private static bool AreSyncArgsValid (Subtitles subtitles, int startIndex, TimeSpan startTime, int endIndex, TimeSpan endTime) {
if (!AreSyncIndicesValid(subtitles, startIndex, endIndex))
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]