Skip to content

Commit 3460940

Browse files
committed
fix: correct ICU bidi block formatting
1 parent c229dc4 commit 3460940

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Uno.UI/UI/Xaml/Documents/UnicodeText.ICU.skia.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ public static unsafe DisposableStruct<IntPtr> CreateBiDiAndSetPara(string text,
196196
{
197197
throw new InvalidOperationException($"{nameof(ubidi_setPara)} failed with error code {setParaErrorCode}");
198198
}
199-
}
200199
}
200+
}
201201
catch
202-
{
203-
GetMethod<ubidi_close>()(bidi);
204-
throw;
202+
{
203+
GetMethod<ubidi_close>()(bidi);
204+
throw;
205205
}
206206
return new DisposableStruct<IntPtr>(static bidi => GetMethod<ubidi_close>()(bidi), bidi);
207207
}

0 commit comments

Comments
 (0)