~ubuntu-branches/debian/sid/ncurses/sid-200908151543

« back to all changes in this revision

Viewing changes to menu/m_global.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-24 15:13:01 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090524151301-uixgxq2zonfov2nr
Tags: 5.7+20090523-1
MergingĀ upstreamĀ versionĀ 5.7+20090523.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 1998-2005,2009 Free Software Foundation, Inc.              *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
37
37
 
38
38
#include "menu.priv.h"
39
39
 
40
 
MODULE_ID("$Id: m_global.c,v 1.23 2005/12/31 21:51:52 tom Exp $")
 
40
MODULE_ID("$Id: m_global.c,v 1.24 2009/02/28 21:02:46 juergen Exp $")
41
41
 
42
42
static char mark[] = "-";
43
43
/* *INDENT-OFF* */
496
496
 
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
502
502
|
543
543
|   Return Values :  -
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;
550
552
  bool mterm_called = FALSE;