Skip to content

Commit 963eac8

Browse files
committed
Window defaults and size fix
1 parent 7a30d07 commit 963eac8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dspf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ class RecordInfo {
304304
case 4:
305305
//WINDOW (STARTY STARTX SIZEY SIZEX)
306306
this.windowSize = {
307-
y: Number(points[0]),
308-
x: Number(points[1]),
307+
y: Number(points[0]) || 2,
308+
x: Number(points[1]) || 2,
309309
width: Number(points[3]),
310-
height: Number(points[2])
310+
height: Number(points[2]) + 1
311311
};
312312
break;
313313
case 1:

0 commit comments

Comments
 (0)