fixed potential crashes when setting fontsize to a too large value

This commit is contained in:
Zeno Rogue
2021-02-07 22:55:10 +01:00
parent 015f6227fa
commit 317e2637ec
2 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -518,7 +518,7 @@ EX void drawStats() {
rows = 0;
while((buttonsize = minsize - vid.killreduction)) {
columns = colspace / buttonsize;
rows = rowspace / buttonsize;
rows = rowspace / buttonsize; if(!rows) return;
int coltaken = 0;
for(int z=0; z<4; z++) {
if(z == 2 && !portrait) {