Keep Public and Private Method Name the Same&Fix a Code Error

According to DirectXMan12's comment.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
This commit is contained in:
Hongliang Wang 2014-05-27 10:57:44 +08:00
parent 7a17435cd8
commit d32deb3154
2 changed files with 25 additions and 25 deletions

View File

@ -919,7 +919,7 @@ init_msg = function() {
/* Connection name/title */ /* Connection name/title */
name_length = ws.rQshift32(); name_length = ws.rQshift32();
fb_name = Util.decodeUTF8(ws.rQshiftUStr(name_length)); fb_name = Util.decodeUTF8(ws.rQshiftUTFStr(name_length));
conf.onDesktopName(that, fb_name); conf.onDesktopName(that, fb_name);
if (conf.true_color && fb_name === "Intel(r) AMT KVM") if (conf.true_color && fb_name === "Intel(r) AMT KVM")

View File

@ -440,7 +440,7 @@ function constructor() {
api.rQshift16 = rQshift16; api.rQshift16 = rQshift16;
api.rQshift32 = rQshift32; api.rQshift32 = rQshift32;
api.rQshiftStr = rQshiftStr; api.rQshiftStr = rQshiftStr;
api.rQshiftUStr = rQshiftUTFStr; api.rQshiftUTFStr = rQshiftUTFStr;
api.rQshiftBytes = rQshiftBytes; api.rQshiftBytes = rQshiftBytes;
api.rQslice = rQslice; api.rQslice = rQslice;
api.rQwait = rQwait; api.rQwait = rQwait;