summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-07 19:52:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-07 19:52:35 +0200
commit90cd363a8e02b521a98e7a7c9a89081eeaab2338 (patch)
treed55a915e398a0b63e891be42b0610c8a119f93d6
parent6287c2b270d656f090760acc6b25abb7bc1d7dec (diff)
downloadserenity-90cd363a8e02b521a98e7a7c9a89081eeaab2338.zip
FileManager: Open .html files in Browser instead of "html"
-rw-r--r--Applications/FileManager/DirectoryView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/DirectoryView.cpp b/Applications/FileManager/DirectoryView.cpp
index 1243d3bee7..9de5fa4b92 100644
--- a/Applications/FileManager/DirectoryView.cpp
+++ b/Applications/FileManager/DirectoryView.cpp
@@ -55,7 +55,7 @@ void DirectoryView::handle_activation(const GModelIndex& index)
if (path.to_lowercase().ends_with(".html")) {
if (fork() == 0) {
- int rc = execl("/bin/html", "/bin/html", path.characters(), nullptr);
+ int rc = execl("/bin/Browser", "/bin/Browser", path.characters(), nullptr);
if (rc < 0)
perror("exec");
ASSERT_NOT_REACHED();