projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 5.7 - patch 20090530
[ncurses.git]
/
ncurses
/
base
/
lib_clrbot.c
diff --git
a/ncurses/base/lib_clrbot.c
b/ncurses/base/lib_clrbot.c
index bc12960e48f0fc824a02df4b734af1e3afddb2c9..df196e815f82a0c1125195150476c3c54c76abb2 100644
(file)
--- a/
ncurses/base/lib_clrbot.c
+++ b/
ncurses/base/lib_clrbot.c
@@
-1,5
+1,5
@@
/****************************************************************************
/****************************************************************************
- * Copyright (c) 1998
,1999,2000,2001 Free Software Foundation, Inc.
*
+ * Copyright (c) 1998
-2001,2006 Free Software Foundation, Inc.
*
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@
-40,7
+40,7
@@
#include <curses.priv.h>
#include <curses.priv.h>
-MODULE_ID("$Id: lib_clrbot.c,v 1.
19 2001/12/19 01:05:59
tom Exp $")
+MODULE_ID("$Id: lib_clrbot.c,v 1.
20 2006/10/14 20:43:31
tom Exp $")
NCURSES_EXPORT(int)
wclrtobot(WINDOW *win)
NCURSES_EXPORT(int)
wclrtobot(WINDOW *win)
@@
-54,8
+54,8
@@
wclrtobot(WINDOW *win)
NCURSES_SIZE_T startx = win->_curx;
NCURSES_CH_T blank = win->_nc_bkgd;
NCURSES_SIZE_T startx = win->_curx;
NCURSES_CH_T blank = win->_nc_bkgd;
- T(("clearing from y = %
d to y = %d with maxx = %
d",
-
win->_cury, win->_maxy,
win->_maxx));
+ T(("clearing from y = %
ld to y = %ld with maxx = %l
d",
+
(long) win->_cury, (long) win->_maxy, (long)
win->_maxx));
for (y = win->_cury; y <= win->_maxy; y++) {
struct ldat *line = &(win->_line[y]);
for (y = win->_cury; y <= win->_maxy; y++) {
struct ldat *line = &(win->_line[y]);