Fix off-by-one error in setview()

git-svn-id: https://svn.eduke32.com/eduke32@4920 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-01-15 06:45:21 +00:00
parent cdaa25ef07
commit 0b1582185e
1 changed files with 1 additions and 1 deletions

View File

@ -15103,7 +15103,7 @@ void setview(int32_t x1, int32_t y1, int32_t x2, int32_t y2)
setaspect_new();
for (i=0; i<windowx1; i++) { startumost[i] = 1, startdmost[i] = 0; }
for (i=windowx1; i<=windowx2; i++)
for (i=windowx1; i<windowx2; i++)
{ startumost[i] = windowy1, startdmost[i] = windowy2+1; }
for (i=windowx2+1; i<xdim; i++) { startumost[i] = 1, startdmost[i] = 0; }
}