Fix VNC endianness check.

This commit is contained in:
Simo Kinnunen
2015-10-13 19:25:13 +09:00
parent 8625a6db23
commit 3b89196cc3

View File

@@ -238,7 +238,7 @@ module.exports = syrup.serial()
})
conn.on('formatchange', function(format) {
var same = os.endianness() === 'BE' === format.bigEndianFlag
var same = os.endianness() === 'BE' === !!format.bigEndianFlag
switch (format.bitsPerPixel) {
case 8:
connState.frameConfig = {