From 1a495cf2d589ace3f4f00d519a95101719ebf18c Mon Sep 17 00:00:00 2001 From: rtanabe999 Date: Fri, 22 Dec 2023 11:40:42 +0900 Subject: [PATCH] Fix typos --- include/webui.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/webui.hpp b/include/webui.hpp index e0cccddd..daca4cd6 100644 --- a/include/webui.hpp +++ b/include/webui.hpp @@ -167,13 +167,13 @@ class window { // Set a custom web-server network port to be used by WebUI. This can be useful to determine the HTTP link of `webui.js` // in case you are trying to use WebUI with an external web-server like NGNIX - void set_size(size_t port) const { webui_set_port(webui_window, port); } + void set_port(size_t port) const { webui_set_port(webui_window, port); } // Set window position void set_position(unsigned int x, unsigned int y) const { webui_set_position(webui_window, x, y); } // Delete a specific window web-browser local folder profile. - void webui_delete_profile(size_t window) const { webui_delete_profile(webui_window); } + void delete_profile() const { webui_delete_profile(webui_window); } // Get the ID of the parent process (The web browser may create another process for the window). size_t get_parent_process_id() const { return webui_get_parent_process_id(webui_window); }