forked from Public-Mirror/Textractor
tiny fixes
This commit is contained in:
parent
0688daf1da
commit
ffff4f2eb9
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -388,7 +388,7 @@ private:
|
||||
for (term = term.left(500); !term.isEmpty(); term.chop(1))
|
||||
for (const auto& [rootTerm, definition, inflections] : LookupDefinitions(term, foundDefinitions))
|
||||
definitions.push_back(
|
||||
QStringLiteral("<h3>%1 (%5/%6)</h3><small>%2 %3</small><p>%4</p>").arg(
|
||||
QStringLiteral("<h3>%1 (%5/%6)</h3><small>%2%3</small><p>%4</p>").arg(
|
||||
term,
|
||||
rootTerm.split("<<")[0],
|
||||
inflections.join(""),
|
||||
|
Loading…
x
Reference in New Issue
Block a user