mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Copy paste errors
This commit is contained in:
@@ -587,7 +587,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
m_hexEditor.setHoverChangedCallback([this](u64 address, size_t size) {
|
||||
if (!showHighlights)
|
||||
return std::nullopt;
|
||||
return;
|
||||
|
||||
m_hoverHighlights->clear();
|
||||
|
||||
@@ -602,8 +602,8 @@ namespace hex::plugin::builtin {
|
||||
|
||||
m_hexEditor.setTooltipCallback([](u64 address, const u8 *data, size_t size) {
|
||||
if (!showHighlights)
|
||||
return std::nullopt;
|
||||
|
||||
return;
|
||||
|
||||
for (const auto &[id, callback] : ImHexApi::HexEditor::impl::getTooltipFunctions()) {
|
||||
callback(address, data, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user