From 6c7e29cbdbe1fe17982a4531d839be65116abca2 Mon Sep 17 00:00:00 2001 From: Hexah Date: Sun, 25 Mar 2018 21:58:12 +0200 Subject: [PATCH] Documentation fixes from methodmap implementation (#788) * There is no "menu" param * No "menu" param on GetTitle() * Misspell "Replies" --- plugins/include/console.inc | 2 +- plugins/include/menus.inc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/include/console.inc b/plugins/include/console.inc index 2ea3b5f32..79c131592 100644 --- a/plugins/include/console.inc +++ b/plugins/include/console.inc @@ -233,7 +233,7 @@ stock void PrintToConsoleAll(const char[] format, any ...) } /** - * Reples to a message in a command. + * Replies to a message in a command. * * A client index of 0 will use PrintToServer(). * If the command was from the console, PrintToConsole() is used. diff --git a/plugins/include/menus.inc b/plugins/include/menus.inc index 604502e55..e9750d31c 100644 --- a/plugins/include/menus.inc +++ b/plugins/include/menus.inc @@ -321,7 +321,6 @@ methodmap Menu < Handle // Returns the text of a menu's title. // - // @param menu Menu Handle. // @param buffer Buffer to store title. // @param maxlength Maximum length of the buffer. // @return Number of bytes written. @@ -330,7 +329,6 @@ methodmap Menu < Handle // Creates a raw MenuPanel based off the menu's style. // The Handle must be freed with CloseHandle(). // - // @param menu Menu Handle. // @return A new MenuPanel Handle. public native Panel ToPanel();