mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-28 14:05:42 -04:00
Fixed Pattern found address in Debugger Search
"Pattern found at 0x%1" was passing a decimal value to %1 instead of a hexadecimal one
This commit is contained in:
parent
f181b45760
commit
67f6bd2bcb
@ -318,12 +318,12 @@ void DebuggerWindow::onMemorySearchTriggered()
|
||||
if (wrapped_around)
|
||||
{
|
||||
m_ui.statusbar->showMessage(tr("Pattern found at 0x%1 (passed the end of memory).")
|
||||
.arg(static_cast<uint>(found_address.value()), 8, 10, static_cast<QChar>('0')));
|
||||
.arg(static_cast<uint>(found_address.value()), 8, 16, static_cast<QChar>('0')));
|
||||
}
|
||||
else
|
||||
{
|
||||
m_ui.statusbar->showMessage(
|
||||
tr("Pattern found at 0x%1.").arg(static_cast<uint>(found_address.value()), 8, 10, static_cast<QChar>('0')));
|
||||
tr("Pattern found at 0x%1.").arg(static_cast<uint>(found_address.value()), 8, 16, static_cast<QChar>('0')));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user