Add a quick way to go to a particular address.

This commit is contained in:
Unknown W. Brackets committed 2013-10-06 22:17:51 -07:00
1 parent d5513c3b58
commit 1cd9f01358
4 files changed
+34 -8

No files matched your search

+5 -2
View File
@@ -117,8 +117,11 @@ bool InputBox_GetHex(HINSTANCE hInst, HWND hParent, const wchar_t *title, u32 de
if (value == IDOK)
{
wscanf(out.c_str(),"%08x",&outvalue);
return true;
if (swscanf(out.c_str(), L"0x%08x", &outvalue) == 1)
return true;
if (swscanf(out.c_str(), L"%08x", &outvalue) == 1)
return true;
return false;
}
else
{