1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 21:55:07 +00:00

Ladybird: Fix typos

This commit is contained in:
Nico Weber 2022-12-30 08:15:00 -05:00 committed by Andreas Kling
parent 70885a3dee
commit ac039d93f0
2 changed files with 3 additions and 3 deletions

View file

@ -47,14 +47,14 @@ static ErrorOr<pid_t> launch_browser(DeprecatedString const& socket_path)
static ErrorOr<pid_t> launch_headless_browser(DeprecatedString const& socket_path) static ErrorOr<pid_t> launch_headless_browser(DeprecatedString const& socket_path)
{ {
auto resouces = DeprecatedString::formatted("{}/res", s_serenity_resource_root); auto resources = DeprecatedString::formatted("{}/res", s_serenity_resource_root);
auto error_page = DeprecatedString::formatted("{}/res/html/error.html", s_serenity_resource_root); auto error_page = DeprecatedString::formatted("{}/res/html/error.html", s_serenity_resource_root);
auto certs = DeprecatedString::formatted("{}/etc/ca_certs.ini", s_serenity_resource_root); auto certs = DeprecatedString::formatted("{}/etc/ca_certs.ini", s_serenity_resource_root);
char const* argv[] = { char const* argv[] = {
"headless-browser", "headless-browser",
"--resources", "--resources",
resouces.characters(), resources.characters(),
"--error-page", "--error-page",
error_page.characters(), error_page.characters(),
"--certs", "--certs",

View file

@ -7,7 +7,7 @@ set(BUILD_LAGOM ON CACHE INTERNAL "Build all Lagom targets")
set(LAGOM_SOURCE_DIR "${SERENITY_SOURCE_DIR}/Meta/Lagom") set(LAGOM_SOURCE_DIR "${SERENITY_SOURCE_DIR}/Meta/Lagom")
set(LAGOM_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/Lagom") set(LAGOM_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/Lagom")
# FIXME: Setting target_include_directories on Lagom libraries might make this unecessary? # FIXME: Setting target_include_directories on Lagom libraries might make this unnecessary?
include_directories(${SERENITY_SOURCE_DIR}) include_directories(${SERENITY_SOURCE_DIR})
include_directories(${SERENITY_SOURCE_DIR}/Userland/Libraries) include_directories(${SERENITY_SOURCE_DIR}/Userland/Libraries)
include_directories(${LAGOM_BINARY_DIR}) include_directories(${LAGOM_BINARY_DIR})