You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/06/25 06:44:24 UTC

[royale-asjs] branch develop updated: Fixed typo

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6a59d13  Fixed typo
6a59d13 is described below

commit 6a59d130a43e03f0a05cd8421483f53ec330d378
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Jun 25 09:44:15 2018 +0300

    Fixed typo
---
 .../projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
index bb30644..aa13003 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
@@ -167,7 +167,7 @@ public class BinaryData implements IBinaryDataInput, IBinaryDataOutput
 
     public function set endian(value:String):void
     {
-        if (value == Endian.BIG_ENDIAN || Endian.LITTLE_ENDIAN) {
+        if (value == Endian.BIG_ENDIAN || value == Endian.LITTLE_ENDIAN) {
             COMPILE::JS {
                 _endian = value;
                 _sysEndian = value == Endian.systemEndian;