Skip to content

Commit

Permalink
Fix function parameter order for forwarded doWikipediaSearch (fixes #101
Browse files Browse the repository at this point in the history
)

This fixes the regression introduced by #94 in v0.5.0 which caused
the built-in Wikipedia search to fail to load when NM is installed.
  • Loading branch information
pgaskin committed Jan 16, 2021
1 parent 0429525 commit 9b73100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nickelmenu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ extern "C" __attribute__((visibility("default"))) void _nm_menu_hook4(WebSearchM
nm_menu_item_t *it = _nm_menu_hook4_item(NULL);
if (!it) {
NM_LOG("No current menu item, continuing with default wikipedia search.");
WebSearchMixinBase_doWikipediaSearch(_this, locale, selection);
WebSearchMixinBase_doWikipediaSearch(_this, selection, locale);
return;
}

Expand Down

0 comments on commit 9b73100

Please sign in to comment.