diff --git a/base/applications/mspaint/imgarea.cpp b/base/applications/mspaint/imgarea.cpp index 433fc7b04aa..74bf84414f3 100644 --- a/base/applications/mspaint/imgarea.cpp +++ b/base/applications/mspaint/imgarea.cpp @@ -291,8 +291,8 @@ LRESULT CImgAreaWindow::OnRButtonUp(UINT nMsg, WPARAM wParam, LPARAM lParam, BOO } SendMessage(hStatusBar, SB_SETTEXT, 2, (LPARAM) ""); } - ReleaseCapture(); drawing = FALSE; + ReleaseCapture(); return 0; }