diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index b9db7ceb62..720c058d8f 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -127,7 +127,7 @@ static void wxCaptureScreenshot(bool activeWindowOnly) } g_displayDC->savePNGFromDC(screenshot.mb_str(), - r.x, r. y, r.width, r.height); + r.x, r. y, r.x+r.width, r.y+r.height); wxMessageBox(_("Screenshot captured: ") + wxString(screenshot)); }