Skip to content

Commit

Permalink
LZMA: fix is check missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Sep 10, 2024
1 parent c4a9bb8 commit dd79e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lime/_internal/format/LZMA.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class LZMA
#end
#elseif js
var data = untyped #if haxe4 js.Syntax.code #else __js__ #end ("LZMA.compress")(new UInt8Array(bytes.getData()), 5);
if (data is String)
if ((data is String))
{
return Bytes.ofString(data);
}
Expand Down Expand Up @@ -60,7 +60,7 @@ class LZMA
#end
#elseif js
var data = untyped #if haxe4 js.Syntax.code #else __js__ #end ("LZMA.decompress")(new UInt8Array(bytes.getData()));
if (data is String)
if ((data is String))
{
return Bytes.ofString(data);
}
Expand Down

0 comments on commit dd79e58

Please sign in to comment.