https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8ef878a87faae69f9e974c1c1684a24edbbe042a

commit 8ef878a87faae69f9e974c1c1684a24edbbe042a
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Tue Dec 24 13:29:29 2019 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Tue Dec 24 13:29:29 2019 +0900

    [MSPAINT] Use '%ld x %ld' rather than '%d x %d'
---
 base/applications/mspaint/selection.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/applications/mspaint/selection.cpp 
b/base/applications/mspaint/selection.cpp
index 368c71c71f8..45d72e8fb21 100644
--- a/base/applications/mspaint/selection.cpp
+++ b/base/applications/mspaint/selection.cpp
@@ -176,7 +176,7 @@ LRESULT CSelectionWindow::OnMouseMove(UINT nMsg, WPARAM 
wParam, LPARAM lParam, B
         selectionModel.ModifyDestRect(m_ptDelta, m_iAction);
 
         CString strSize;
-        strSize.Format(_T("%d x %d"), selectionModel.GetDestRectWidth(), 
selectionModel.GetDestRectHeight());
+        strSize.Format(_T("%ld x %ld"), selectionModel.GetDestRectWidth(), 
selectionModel.GetDestRectHeight());
         SendMessage(hStatusBar, SB_SETTEXT, 2, (LPARAM) (LPCTSTR) strSize);
 
         if (toolsModel.GetActiveTool() == TOOL_TEXT)

Reply via email to