Skip to content

Commit

Permalink
Fix incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jan 20, 2024
1 parent 88fab0c commit d099ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchDownloaderCore/Tools/M3U8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ public static void AppendIfNotNull<T>(StringBuilder sb, string keyName, T? value

public static void AppendIfNotDefault<T>(StringBuilder sb, string keyName, T value, ReadOnlySpan<char> end) where T : struct, IEquatable<T>
{
if (!value.Equals(default))
if (value.Equals(default))
return;

sb.Append(keyName);
Expand Down

0 comments on commit d099ebb

Please sign in to comment.