Skip to content

Commit dd79e58

Browse files
committed
LZMA: fix is check missing parentheses
1 parent c4a9bb8 commit dd79e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lime/_internal/format/LZMA.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class LZMA
2727
#end
2828
#elseif js
2929
var data = untyped #if haxe4 js.Syntax.code #else __js__ #end ("LZMA.compress")(new UInt8Array(bytes.getData()), 5);
30-
if (data is String)
30+
if ((data is String))
3131
{
3232
return Bytes.ofString(data);
3333
}
@@ -60,7 +60,7 @@ class LZMA
6060
#end
6161
#elseif js
6262
var data = untyped #if haxe4 js.Syntax.code #else __js__ #end ("LZMA.decompress")(new UInt8Array(bytes.getData()));
63-
if (data is String)
63+
if ((data is String))
6464
{
6565
return Bytes.ofString(data);
6666
}

0 commit comments

Comments
 (0)