Skip to content

Commit 36b76af

Browse files
authored
Merge pull request #282 from rtanabe999/fix_typo
Fix typos
2 parents 69066b1 + 1a495cf commit 36b76af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/webui.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,13 @@ class window {
167167

168168
// Set a custom web-server network port to be used by WebUI. This can be useful to determine the HTTP link of `webui.js`
169169
// in case you are trying to use WebUI with an external web-server like NGNIX
170-
void set_size(size_t port) const { webui_set_port(webui_window, port); }
170+
void set_port(size_t port) const { webui_set_port(webui_window, port); }
171171

172172
// Set window position
173173
void set_position(unsigned int x, unsigned int y) const { webui_set_position(webui_window, x, y); }
174174

175175
// Delete a specific window web-browser local folder profile.
176-
void webui_delete_profile(size_t window) const { webui_delete_profile(webui_window); }
176+
void delete_profile() const { webui_delete_profile(webui_window); }
177177

178178
// Get the ID of the parent process (The web browser may create another process for the window).
179179
size_t get_parent_process_id() const { return webui_get_parent_process_id(webui_window); }

0 commit comments

Comments
 (0)