mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
[Utilities] - Change to native array init to avoid issue with unix platforms.
This commit is contained in:
parent
e0b49e8fc3
commit
8600d402b1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user