Ignore:
Timestamp:
Jan 13, 2017, 3:21:12 PM (8 years ago)
Author:
Silvan Scherrer
Message:

ncurses: import vendor version 5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified ncurses/vendor/current/menu/m_global.c

    r85 r1910  
    11/****************************************************************************
    2  * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc.              *
     2 * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.              *
    33 *                                                                          *
    44 * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    3838#include "menu.priv.h"
    3939
    40 MODULE_ID("$Id: m_global.c,v 1.23 2005/12/31 21:51:52 tom Exp $")
     40MODULE_ID("$Id: m_global.c,v 1.25 2010/01/23 21:20:10 tom Exp $")
    4141
    4242static char mark[] = "-";
     
    254254  int result = item->length;
    255255
    256   T((T_CALLED("_nc_menu_text_width(%p)"), item));
     256  T((T_CALLED("_nc_menu_text_width(%p)"), (const void *)item));
    257257  if (result != 0 && item->str != 0)
    258258    {
     
    497497/*---------------------------------------------------------------------------
    498498|   Facility      :  libnmenu 
    499 |   Function      :  void _nc_Show_Menu(const MENU *menu)
     499|   Function      :  void _nc_Show_Menu(const MENU* menu)
    500500|   
    501501|   Description   :  Update the window that is associated with the menu
     
    544544+--------------------------------------------------------------------------*/
    545545NCURSES_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)
    548550{
    549551  ITEM *cur_item;
Note: See TracChangeset for help on using the changeset viewer.