diff --git a/include/saucer/options.h b/include/saucer/options.h index 2fee256..8e0512e 100644 --- a/include/saucer/options.h +++ b/include/saucer/options.h @@ -18,7 +18,7 @@ extern "C" SAUCER_EXPORT void saucer_options_set_hardware_acceleration(saucer_options *, bool enabled); SAUCER_EXPORT void saucer_options_set_storage_path(saucer_options *, const char *path); - SAUCER_EXPORT void saucer_options_add_chrome_flag(saucer_options *, const char *flag); + SAUCER_EXPORT void saucer_options_add_browser_flag(saucer_options *, const char *flag); #ifdef __cplusplus } diff --git a/src/options.cpp b/src/options.cpp index 93508d4..d3cee76 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -28,7 +28,7 @@ extern "C" handle->value().storage_path = path; } - void saucer_options_add_chrome_flag(saucer_options *handle, const char *flag) + void saucer_options_add_browser_flag(saucer_options *handle, const char *flag) { handle->value().browser_flags.emplace(flag); }