diff --git a/src/writeLua/ByteArray.lua b/src/writeLua/ByteArray.lua index 201d720..fd343e1 100644 --- a/src/writeLua/ByteArray.lua +++ b/src/writeLua/ByteArray.lua @@ -21,7 +21,7 @@ function ByteArray(endian) fmt = fmt or "" if BA_ENDIAN_LITTLE == mEndian then return "<"..fmt - elseif BA_ENDIAN_BIG == mEndianthen then + elseif BA_ENDIAN_BIG == mEndian then return ">"..fmt else return "="..fmt