[Utilities] - Change to native array init to avoid issue with unix platforms.

This commit is contained in:
Ivandro Ismael 2016-09-29 18:01:43 +01:00
parent e0b49e8fc3
commit 8600d402b1

View File

@ -23,7 +23,7 @@ namespace Nikse.SubtitleEdit.Core
/// <summary>
/// Cached environment new line characters for faster lookup.
/// </summary>
public static readonly char[] NewLineChars = Environment.NewLine.ToCharArray();
public static readonly char[] NewLineChars = { '\r', '\n' };
public static VideoInfo TryReadVideoInfoViaMatroskaHeader(string fileName)
{