1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix windowed modes list initialization in GUI.

This commit is contained in:
Sergey Lipskiy 2016-03-06 21:23:48 +06:00
parent c504b9b216
commit 675d777e92

View File

@ -69,7 +69,7 @@ void ConfigDialog::_init()
// Video settings
QStringList windowedModesList;
int windowedModesCurrent = numWindowedModes - 1;
for (int i = 0; i < numWindowedModes; ++i) {
for (int i = 0; i < numWindowedModes - 1; ++i) {
windowedModesList.append(WindowedModes[i].description);
if (WindowedModes[i].width == config.video.windowedWidth && WindowedModes[i].height == config.video.windowedHeight)
windowedModesCurrent = i;