[gnome-subtitles] Fixed writing extra empty line in Panimator files.



commit 4856d0f1fea4d625ddbac0a49f6dee83ea0fdfcb
Author: Pedro Castro <pedro gnomesubtitles org>
Date:   Thu Sep 15 23:34:12 2011 +0100

    Fixed writing extra empty line in Panimator files.

 .../IO/SubtitleFormats/SubtitleFormatPanimator.cs  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/SubLib/IO/SubtitleFormats/SubtitleFormatPanimator.cs b/src/SubLib/IO/SubtitleFormats/SubtitleFormatPanimator.cs
index 02f7cff..da8fa70 100644
--- a/src/SubLib/IO/SubtitleFormats/SubtitleFormatPanimator.cs
+++ b/src/SubLib/IO/SubtitleFormats/SubtitleFormatPanimator.cs
@@ -1,6 +1,6 @@
 /*
  * This file is part of SubLib.
- * Copyright (C) 2007-2008 Pedro Castro
+ * Copyright (C) 2007-2008,2011 Pedro Castro
  *
  * SubLib is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ internal class SubtitleFormatPanimator : SubtitleFormat {
 		subtitleIn = @"/d\s+(?<StartSeconds>\d+)\s+(?<StartCentiseconds>\d+)\s+(?<Text>.+(\n.+)?)\s+/d\s+(?<EndSeconds>\d+)\s+(?<EndCentiseconds>\d+)\s+/c";
 		
 		subtitleOut = "/d <<StartSeconds>> <<StartCentiseconds>>\n<<Text>>\n" 
-				+ "/d <<EndSeconds>> <<EndCentiseconds>>\n/c\n";
+				+ "/d <<EndSeconds>> <<EndCentiseconds>>\n/c";
 		
 	}
 	



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