Fix screen rendering of out of bounds

This commit is contained in:
Garhoogin 2023-10-20 15:06:11 -05:00 committed by GitHub
parent 8334b9aafc
commit f725dc76fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,7 +434,7 @@ int nscrGetTileEx(NSCR *nscr, NCGR *ncgr, NCLR *nclr, int charBase, int x, int y
out[i] = bg;
}
} else {
memset(out, 64 * 4, 0);
memset(out, 0, 64 * 4);
}
return 0;
}