From dcd05fc87506b7ac525cd9272d709cad95f6d7cc Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 27 Apr 2020 01:37:44 +0000
Subject: [PATCH] Fix the typos.

---
 exec/load/frame.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/exec/load/frame.js b/exec/load/frame.js
index be071d058b..1074c38d51 100644
--- a/exec/load/frame.js
+++ b/exec/load/frame.js
@@ -927,17 +927,17 @@ Frame.prototype.clear = function (attr) {
 	this.home();
 	this.invalidate();
 }
-Frame.prototype.erase(ch, attr) {
+Frame.prototype.erase = function(ch, attr) {
 	if(attr == undefined)
 		attr = this.attr;
 	var px = this.__position__.offset.x;
 	var py = this.__position__.offset.y;
 	for(var y = 0; y< this.height; y++) {
-		if(!this__properties.data[py + y]) {
+		if(!this.__properties__.data[py + y]) {
 			continue;
 		}
-		for(var x = 0; x<this.width: x++) {
-			if(!this__properties.data[py + y][px + x]) {
+		for(var x = 0; x<this.width; x++) {
+			if(!this.__properties__.data[py + y][px + x]) {
 				continue;
 			}
 			if((this.__properties__.data[py + y][px + x].ch === undefined || 
-- 
GitLab