1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

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 = {