[MSPAINT] Use '%ld x %ld' rather than '%d x %d'

This commit is contained in:
Katayama Hirofumi MZ 2019-12-24 13:29:29 +09:00
parent d9b2edcc59
commit 8ef878a87f

View file

@ -176,7 +176,7 @@ LRESULT CSelectionWindow::OnMouseMove(UINT nMsg, WPARAM wParam, LPARAM lParam, B
selectionModel.ModifyDestRect(m_ptDelta, m_iAction); selectionModel.ModifyDestRect(m_ptDelta, m_iAction);
CString strSize; 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); SendMessage(hStatusBar, SB_SETTEXT, 2, (LPARAM) (LPCTSTR) strSize);
if (toolsModel.GetActiveTool() == TOOL_TEXT) if (toolsModel.GetActiveTool() == TOOL_TEXT)