Commit e0b23efe authored by Joel Martin's avatar Joel Martin

Fix fbUpdateRequest undefined parameter logic.

parent 608e0f52
...@@ -1414,10 +1414,10 @@ clientEncodings = function() { ...@@ -1414,10 +1414,10 @@ clientEncodings = function() {
fbUpdateRequest = function(incremental, x, y, xw, yw) { fbUpdateRequest = function(incremental, x, y, xw, yw) {
//Util.Debug(">> fbUpdateRequest"); //Util.Debug(">> fbUpdateRequest");
if (typeof(x) !== "undefined") { x = 0; } if (typeof(x) === "undefined") { x = 0; }
if (typeof(y) !== "undefined") { y = 0; } if (typeof(y) === "undefined") { y = 0; }
if (typeof(xw) !== "undefined") { xw = fb_width; } if (typeof(xw) === "undefined") { xw = fb_width; }
if (typeof(yw) !== "undefined") { yw = fb_height; } if (typeof(yw) === "undefined") { yw = fb_height; }
var arr; var arr;
arr = [3]; // msg-type arr = [3]; // msg-type
arr.push8(incremental); arr.push8(incremental);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment