diff --git a/libs/actions.js b/libs/actions.js index bd489257..156542dd 100644 --- a/libs/actions.js +++ b/libs/actions.js @@ -105,7 +105,7 @@ actions.prototype.doRegisteredAction = function (action) { } catch (e) { main.log(e); - main.log("ERROR in actions["+actions[i].name+"]。"); + main.log("ERROR in actions["+actions[i].name+"]."); } } return false; diff --git a/libs/ui.js b/libs/ui.js index dbf0dff8..1c194fbd 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -521,7 +521,7 @@ ui.prototype._drawBackground_drawWindowSkin = function (background, left, top, r var image = core.material.images.images[background]; if (image.width==192 && image.height==128) { core.setAlpha('ui', 0.85); - this.drawWindowSkin(image, 'ui', left, top, right - left, bottom - top, posInfo.position, px, py); + this.drawWindowSkin(image, 'ui', left, top, right - left, bottom - top, position, px, py); core.setAlpha('ui', 1); return true; }