summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/windows/window.c')
-rw-r--r--src/osd/windows/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c
index 1fbf842a241..9b248440229 100644
--- a/src/osd/windows/window.c
+++ b/src/osd/windows/window.c
@@ -877,7 +877,7 @@ static void set_starting_view(int index, win_window_info *window, const char *vi
int scrcount;
// count the number of screens
- for (scrcount = 0; Machine->drv->screen[scrcount].tag != NULL; scrcount++) ;
+ for (scrcount = 0; Machine->config->screen[scrcount].tag != NULL; scrcount++) ;
// if we have enough screens to be one per monitor, assign in order
if (video_config.numscreens >= scrcount)