Merge pull request #2861 from Alberth289346/fix-animview-print-mood-positions

Use %zd for printing a size_t value.
This commit is contained in:
Stephen E. Baker
2025-05-15 22:29:56 -04:00
committed by GitHub

View File

@@ -744,7 +744,7 @@ void frmMain::updateMoodPosition(int centerX, int centerY) {
}
m_txtMoodPosition[1]->SetValue(
wxString::Format(L"{%i, %i, \"px\"}", m_iMoodDrawX, m_iMoodDrawY));
printf("%ld, {%i, %i, \"px\"}, -- Anim %ld\n", m_iCurrentFrame, m_iMoodDrawX,
printf("%zd, {%i, %i, \"px\"}, -- Anim %zd\n", m_iCurrentFrame, m_iMoodDrawX,
m_iMoodDrawY, m_iCurrentAnim);
if (m_bDrawMood) m_panFrame->Refresh(false);