SDL: fix 0.160 aspect ratio regression. [Hans Ostermeyer]

This commit is contained in:
arbee 2015-07-13 09:10:21 -04:00
parent d7325f1893
commit 7f6f8d0b8d

View file

@ -1561,6 +1561,10 @@ osd_dim sdl_window_info::get_min_bounds(int constrain)
}
}
// remove extra window stuff
minwidth -= wnd_extra_width();
minheight -= wnd_extra_height();
return osd_dim(minwidth, minheight);
}