Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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 3b8aefc936ef04c7de1fcb00d2ef306c82548c49
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/bwindow/SDL_sysvideo.cc
@@ -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;

0 comments on commit 3b8aefc

Please sign in to comment.