Skip to content

Commit

Permalink
Add default values for menu_item_getinfo (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
OciXCrom authored and Arkshine committed Aug 9, 2018
1 parent a784a34 commit 0bfc65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/include/newmenus.inc
Expand Up @@ -221,7 +221,7 @@ native menu_find_id(menu, page, key);
* @return 1 on success, 0 on failure.
* @error Invalid menu resource.
*/
native menu_item_getinfo(menu, item, &access, info[], infolen, name[]="", namelen=0, &callback);
native menu_item_getinfo(menu, item, &access = 0, info[] = "", infolen = 0, name[]="", namelen=0, &callback = 0);

/**
* Sets an item's display text.
Expand Down

0 comments on commit 0bfc65c

Please sign in to comment.