Skip to content

Commit

Permalink
fix: Copy paste errors
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Dec 30, 2024
1 parent a1482cb commit ff2b58e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/builtin/source/content/views/view_hex_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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);
}
Expand Down

0 comments on commit ff2b58e

Please sign in to comment.