[gnome-subtitles] Remove extra newline that was being incorrectly written to output files (based on a patch from Pawel
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Remove extra newline that was being incorrectly written to output files (based on a patch from Pawel
- Date: Sun, 11 Sep 2011 21:37:18 +0000 (UTC)
commit b46063d5065d588426d77b1357a74e3f21be5fd5
Author: Pedro Castro <pedro gnomesubtitles org>
Date: Sun Sep 11 21:43:08 2011 +0100
Remove extra newline that was being incorrectly written to output files (based on a patch from Pawel57)
.../SubtitleFormatPhoenixJapanimationSociety.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/SubLib/IO/SubtitleFormats/SubtitleFormatPhoenixJapanimationSociety.cs b/src/SubLib/IO/SubtitleFormats/SubtitleFormatPhoenixJapanimationSociety.cs
index 56da802..3fa3eb9 100644
--- a/src/SubLib/IO/SubtitleFormats/SubtitleFormatPhoenixJapanimationSociety.cs
+++ b/src/SubLib/IO/SubtitleFormats/SubtitleFormatPhoenixJapanimationSociety.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
@@ -22,7 +22,8 @@ using System;
using System.Text.RegularExpressions;
namespace SubLib.IO.SubtitleFormats {
-
+
+//TODO: support empty lines
internal class SubtitleFormatPhoenixJapanimationSociety : SubtitleFormat {
internal SubtitleFormatPhoenixJapanimationSociety() {
@@ -37,7 +38,7 @@ internal class SubtitleFormatPhoenixJapanimationSociety : SubtitleFormat {
subtitleIn = @"\s*(?<StartFrame>\d+),\s*(?<EndFrame>\d+),\s*""(?<Text>.+)""";
- subtitleOut = "\t<<StartFrame>>,\t<<EndFrame>>, <<Text>>\n";
+ subtitleOut = "\t<<StartFrame>>,\t<<EndFrame>>, <<Text>>";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]