[broadway] Parse x/y as signed

This commit is contained in:
Alexander Larsson 2011-04-11 16:43:01 +02:00
parent 4cb979d6b9
commit 8a7e208bb2

View File

@ -648,9 +648,9 @@ function handleCommands(cmdObj)
case 's': // create new surface
var id = base64_16(cmd, i);
i = i + 3;
var x = base64_16(cmd, i);
var x = base64_16s(cmd, i);
i = i + 3;
var y = base64_16(cmd, i);
var y = base64_16s(cmd, i);
i = i + 3;
var w = base64_16(cmd, i);
i = i + 3;