Commit d029ec6e authored by Ryan C. Gordon's avatar Ryan C. Gordon

Logic error in BeOS video mode selection ("width" where it should be "height").

 Fixes Bugzilla #370.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402245
parent 391d73e3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment