~ubuntu-branches/ubuntu/lucid/mc/lucid

« back to all changes in this revision

Viewing changes to src/win.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-09-16 10:38:59 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080916103859-2uwn8w61xk5mbxxq
Tags: 2:4.6.2~git20080311-4
Corrected fix for odt2txt issue (Closes: #492019) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Curses utilities
2
 
   Copyright (C) 1995 Miguel de Icaza, Janne Kukonlehto
 
2
   Copyright (C) 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 
3
   2007 Free Software Foundation, Inc.
3
4
   
4
5
   This program is free software; you can redistribute it and/or modify
5
6
   it under the terms of the GNU General Public License as published by
16
17
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
17
18
 
18
19
#include <config.h>
 
20
 
19
21
#include <stdio.h>
20
22
#include <string.h>
 
23
 
21
24
#ifdef HAVE_TERMIOS_H
22
 
#    include <termios.h>
 
25
#include <termios.h>
23
26
#endif
24
27
 
25
28
#include "global.h"
39
42
 * the key was handled, 0 otherwise.
40
43
 */
41
44
int
42
 
check_movement_keys (int key, int page_size, const void *data, movefn backfn,
 
45
check_movement_keys (int key, int page_size, void *data, movefn backfn,
43
46
                     movefn forfn, movefn topfn, movefn bottomfn)
44
47
{
45
48
    switch (key) {