Changeset 1910 for ncurses/vendor/current/menu/m_global.c
- Timestamp:
- Jan 13, 2017, 3:21:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified ncurses/vendor/current/menu/m_global.c ¶
r85 r1910 1 1 /**************************************************************************** 2 * Copyright (c) 1998-200 4,2005Free Software Foundation, Inc. *2 * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * 3 3 * * 4 4 * Permission is hereby granted, free of charge, to any person obtaining a * … … 38 38 #include "menu.priv.h" 39 39 40 MODULE_ID("$Id: m_global.c,v 1.2 3 2005/12/31 21:51:52tom Exp $")40 MODULE_ID("$Id: m_global.c,v 1.25 2010/01/23 21:20:10 tom Exp $") 41 41 42 42 static char mark[] = "-"; … … 254 254 int result = item->length; 255 255 256 T((T_CALLED("_nc_menu_text_width(%p)"), item));256 T((T_CALLED("_nc_menu_text_width(%p)"), (const void *)item)); 257 257 if (result != 0 && item->str != 0) 258 258 { … … 497 497 /*--------------------------------------------------------------------------- 498 498 | Facility : libnmenu 499 | Function : void _nc_Show_Menu(const MENU *menu)499 | Function : void _nc_Show_Menu(const MENU* menu) 500 500 | 501 501 | Description : Update the window that is associated with the menu … … 544 544 +--------------------------------------------------------------------------*/ 545 545 NCURSES_EXPORT(void) 546 _nc_New_TopRow_and_CurrentItem 547 (MENU * menu, int new_toprow, ITEM * new_current_item) 546 _nc_New_TopRow_and_CurrentItem( 547 MENU * menu, 548 int new_toprow, 549 ITEM * new_current_item) 548 550 { 549 551 ITEM *cur_item;
Note:
See TracChangeset
for help on using the changeset viewer.