diff --git a/src/VBox/RDP/server/vrdpdmap.cpp b/src/VBox/RDP/server/vrdpdmap.cpp index 74007b8379f..db20c8f2251 100644 --- a/src/VBox/RDP/server/vrdpdmap.cpp +++ b/src/VBox/RDP/server/vrdpdmap.cpp @@ -690,7 +690,7 @@ VRDPClientDesktopMapMultiMon::VRDPClientDesktopMapMultiMon(VRDPTP *pTP) /* virtual */ void VRDPClientDesktopMapMultiMon::QueryClientMonitorRect (unsigned uScreenId, RGNRECT *pRect) { - if (uScreenId > m_cMonitors) + if (uScreenId >= m_cMonitors) { pRect->x = 0; pRect->y = 0;