graphics/nxwm/src/chexcalculator.cxx: Fix typos

Typos in the following change:

    commit c48e65414b
    Author: YAMAMOTO Takashi <yamamoto@midokura.com>
    Date:   Mon Nov 16 14:16:46 2020 +0900

        graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
This commit is contained in:
YAMAMOTO Takashi 2020-11-16 15:51:00 +09:00 • committed by Xiang Xiao
parent 2d4d8aa643
commit 1c6c2ad646

View file

@ -673,11 +673,11 @@ void CHexCalculator::updateText(void)
if (m_hexMode)
{
std::snprintf(buffer, 24, "%16" PRI64X, m_accum);
std::snprintf(buffer, 24, "%16" PRIX64, m_accum);
}
else
{
std::snprintf(buffer, 24, "%" PRI64d, m_accum);
std::snprintf(buffer, 24, "%" PRId64, m_accum);
}
// setText will perform the redraw as well