diff options
Diffstat (limited to 'src/osd/modules/debugger/win/debugwininfo.cpp')
-rw-r--r-- | src/osd/modules/debugger/win/debugwininfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/debugger/win/debugwininfo.cpp b/src/osd/modules/debugger/win/debugwininfo.cpp index 79468e3793b..64d178de9f9 100644 --- a/src/osd/modules/debugger/win/debugwininfo.cpp +++ b/src/osd/modules/debugger/win/debugwininfo.cpp @@ -80,7 +80,7 @@ void debugwin_info::prev_view(debugview_info *curview) { for (curindex = numviews - 1; curindex > 0; curindex--) { - if (m_views[curindex] == curview) + if (m_views[curindex].get() == curview) break; } if (curindex < 0) @@ -126,7 +126,7 @@ void debugwin_info::next_view(debugview_info *curview) { for (curindex = numviews - 1; curindex > 0; curindex--) { - if (m_views[curindex] == curview) + if (m_views[curindex].get() == curview) break; } } |