summaryrefslogtreecommitdiff
path: root/Applications/Help/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Help/main.cpp')
-rw-r--r--Applications/Help/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Help/main.cpp b/Applications/Help/main.cpp
index 75cf67d95f..26c69255b5 100644
--- a/Applications/Help/main.cpp
+++ b/Applications/Help/main.cpp
@@ -151,7 +151,7 @@ int main(int argc, char* argv[])
open_page(path);
};
- html_view.on_link_click = [&](const String& href) {
+ html_view.on_link_click = [&](const String& href, auto&) {
char* current_path = strdup(history.current().characters());
char* dir_path = dirname(current_path);
char* path = realpath(String::format("%s/%s", dir_path, href.characters()).characters(), nullptr);