[MSPAINT] Use '%ld x %ld' rather than '%d x %d'
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 24 Dec 2019 04:29:29 +0000 (13:29 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 24 Dec 2019 04:29:29 +0000 (13:29 +0900)
base/applications/mspaint/selection.cpp

index 368c71c..45d72e8 100644 (file)
@@ -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)