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

« back to all changes in this revision

Viewing changes to ncurses/base/lib_clrbot.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) 1998,1999,2000,2001 Free Software Foundation, Inc.         *
 
2
 * Copyright (c) 1998-2001,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            *
40
40
 
41
41
#include <curses.priv.h>
42
42
 
43
 
MODULE_ID("$Id: lib_clrbot.c,v 1.19 2001/12/19 01:05:59 tom Exp $")
 
43
MODULE_ID("$Id: lib_clrbot.c,v 1.20 2006/10/14 20:43:31 tom Exp $")
44
44
 
45
45
NCURSES_EXPORT(int)
46
46
wclrtobot(WINDOW *win)
54
54
        NCURSES_SIZE_T startx = win->_curx;
55
55
        NCURSES_CH_T blank = win->_nc_bkgd;
56
56
 
57
 
        T(("clearing from y = %d to y = %d with maxx =  %d",
58
 
           win->_cury, win->_maxy, win->_maxx));
 
57
        T(("clearing from y = %ld to y = %ld with maxx =  %ld",
 
58
           (long) win->_cury, (long) win->_maxy, (long) win->_maxx));
59
59
 
60
60
        for (y = win->_cury; y <= win->_maxy; y++) {
61
61
            struct ldat *line = &(win->_line[y]);