Skip to content

Commit b71a6f8

Browse files
committed
actually stupidity seems to not be so stupid
1 parent 5d5bf7a commit b71a6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Codecs/KeyValues2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ string Decode_NextToken(StreamReader reader)
664664
else if (type == typeof(TimeSpan))
665665
return TimeSpan.FromTicks((long)(double.Parse(value, CultureInfo.InvariantCulture) * TimeSpan.TicksPerSecond));
666666

667-
var num_list = value.Split();
667+
var num_list = value.Split((char[]?)null, StringSplitOptions.RemoveEmptyEntries);
668668

669669
if (type == typeof(Color))
670670
{

0 commit comments

Comments
 (0)