Skip to content

Commit 1ffd678

Browse files
committed
do it
1 parent 4ba6473 commit 1ffd678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ZString.Unity/Assets/Scripts/ZString/Utf8ValueStringBuilder.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Buffers;
33
using System.IO;
44
using System.Runtime.CompilerServices;
@@ -256,7 +256,7 @@ public void Append(string value, int startIndex, int count)
256256
[MethodImpl(MethodImplOptions.AggressiveInlining)]
257257
public void Append(string value)
258258
{
259-
#if !UNITY_2020_2_OR_NEWER && (UNITY_2018_3_OR_NEWER || NETSTANDARD2_0)
259+
#if UNITY_2018_3_OR_NEWER || NETSTANDARD2_0
260260
var maxLen = UTF8NoBom.GetMaxByteCount(value.Length);
261261
if (buffer.Length - index < maxLen)
262262
{

0 commit comments

Comments
 (0)