Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Logic error in BeOS video mode selection ("width" where it should be …
…"height").

 Fixes Bugzilla #370.
  • Loading branch information
icculus committed Dec 8, 2006
1 parent 947d94e commit 3b8aefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/bwindow/SDL_sysvideo.cc
Expand Up @@ -374,7 +374,7 @@ extern "C"
(modes[i]->h > height); ++i) {
/* still looking */
}
if (!modes[i] || (modes[i]->w < width) || (modes[i]->h < width)) {
if (!modes[i] || (modes[i]->w < width) || (modes[i]->h < height)) {
--i; /* We went too far */
}
width = modes[i]->w;
Expand Down

0 comments on commit 3b8aefc

Please sign in to comment.