Skip to content

Commit

Permalink
refactor(options): rename flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Aug 9, 2024
1 parent 71be55f commit 9385e3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/saucer/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9385e3a

Please sign in to comment.