tiny fixes

This commit is contained in:
Akash Mozumdar 2020-02-29 17:51:09 -07:00
parent 0688daf1da
commit ffff4f2eb9
3 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,7 @@ namespace
HCode += L'@' + HexString(hp.address);
if (hp.type & MODULE_OFFSET) HCode += L':' + std::wstring(hp.module);
if (hp.type & FUNCTION_OFFSET) HCode += L':' + std::wstring(hp.function, hp.function + MAX_MODULE_SIZE);
if (hp.type & FUNCTION_OFFSET) HCode += L':' + StringToWideString(hp.function);
return HCode;
}

View File

@ -435,7 +435,7 @@ void MainWindow::FindHooks()
SearchParam sp = {};
sp.codepage = Host::defaultCodepage;
bool searchForText = false, customSettings = false;
QRegularExpression filter(".", QRegularExpression::DotMatchesEverythingOption);
QRegularExpression filter(".", QRegularExpression::UseUnicodePropertiesOption | QRegularExpression::DotMatchesEverythingOption);
QDialog dialog(this, Qt::WindowCloseButtonHint);
QFormLayout layout(&dialog);