X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_format.c;h=848de0b21118e80d2cb3f3d7f52bed234c1dd474;hp=20c4454a4b6905d1af212a65a310f80851177ec2;hb=a28e782d7794ddeec23e7cb212dc455f0d93dc22;hpb=04d942c3d98cf0a929c6afb17be8c10d4ae39af0 diff --git a/menu/m_format.c b/menu/m_format.c index 20c4454a..848de0b2 100644 --- a/menu/m_format.c +++ b/menu/m_format.c @@ -38,7 +38,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_format.c,v 1.20 2020/05/24 01:40:20 anonymous.maarten Exp $") +MODULE_ID("$Id: m_format.c,v 1.21 2020/12/12 00:38:02 tom Exp $") #define minimum(a,b) ((a)<(b) ? (a): (b)) @@ -57,7 +57,7 @@ MODULE_ID("$Id: m_format.c,v 1.20 2020/05/24 01:40:20 anonymous.maarten Exp $") | E_POSTED - the menu is already posted +--------------------------------------------------------------------------*/ MENU_EXPORT(int) -set_menu_format(MENU * menu, int rows, int cols) +set_menu_format(MENU *menu, int rows, int cols) { int total_rows, total_cols; @@ -121,7 +121,7 @@ set_menu_format(MENU * menu, int rows, int cols) | Return Values : - +--------------------------------------------------------------------------*/ MENU_EXPORT(void) -menu_format(const MENU * menu, int *rows, int *cols) +menu_format(const MENU *menu, int *rows, int *cols) { if (rows) *rows = Normalize_Menu(menu)->frows;