~ubuntu-branches/ubuntu/natty/ncurses/natty

« back to all changes in this revision

Viewing changes to test/cardfile.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-17 09:00:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517090042-86fgxrr6j5jzagot
Tags: 5.6-0ubuntu1
* New upstream version.
  - Remove patches applied upstream: ncurses.upstream, signed-chars.
  - Update patches: debian-backspace.
* Build-depend on g++-multilib instead of lib{32,64}c*-dev-*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 1999-2003,2004 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 1999-2004,2006 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            *
29
29
/*
30
30
 * Author: Thomas E. Dickey
31
31
 *
32
 
 * $Id: cardfile.c,v 1.27 2004/11/06 19:33:39 tom Exp $
 
32
 * $Id: cardfile.c,v 1.28 2006/12/10 00:30:09 tom Exp $
33
33
 *
34
34
 * File format: text beginning in column 1 is a title; other text is content.
35
35
 */
389
389
    int y;
390
390
    int x;
391
391
    int ch = ERR;
392
 
    int last_ch;
393
392
    int finished = FALSE;
394
393
 
395
394
    show_legend();
433
432
        update_panels();
434
433
        doupdate();
435
434
 
436
 
        last_ch = ch;
437
435
        ch = form_virtualize(panel_window(top_card->panel));
438
436
        switch (form_driver(top_card->form, ch)) {
439
437
        case E_OK: