Skip to content

Commit 6c7e29c

Browse files
Hexer10KyleSanderson
authored andcommitted
Documentation fixes from methodmap implementation (#788)
* There is no "menu" param * No "menu" param on GetTitle() * Misspell "Replies"
1 parent 118d6dc commit 6c7e29c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

plugins/include/console.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ stock void PrintToConsoleAll(const char[] format, any ...)
233233
}
234234

235235
/**
236-
* Reples to a message in a command.
236+
* Replies to a message in a command.
237237
*
238238
* A client index of 0 will use PrintToServer().
239239
* If the command was from the console, PrintToConsole() is used.

plugins/include/menus.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ methodmap Menu < Handle
321321

322322
// Returns the text of a menu's title.
323323
//
324-
// @param menu Menu Handle.
325324
// @param buffer Buffer to store title.
326325
// @param maxlength Maximum length of the buffer.
327326
// @return Number of bytes written.
@@ -330,7 +329,6 @@ methodmap Menu < Handle
330329
// Creates a raw MenuPanel based off the menu's style.
331330
// The Handle must be freed with CloseHandle().
332331
//
333-
// @param menu Menu Handle.
334332
// @return A new MenuPanel Handle.
335333
public native Panel ToPanel();
336334

0 commit comments

Comments
 (0)