From 7b5dc11caad4e53dbd70cbfd5a8e8ddbded514a4 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 25 Dec 2005 19:24:43 +0000 Subject: [PATCH] wresize() implementation is bogus. Well, there's no standard, but it doesn't match other implementations (ncurses and BSD), so there's no point (it's the same functionality as resize_window()). To fix this, we need to rewrite resize_window() to reuse the original structure. --- curses.h | 4 ++-- readme.27 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curses.h b/curses.h index 93c30d7c..32951cf8 100644 --- a/curses.h +++ b/curses.h @@ -18,7 +18,7 @@ *************************************************************************** */ /* -$Id: curses.h,v 1.57 2005/12/25 04:24:41 wmcbrine Exp $ +$Id: curses.h,v 1.58 2005/12/25 19:24:43 wmcbrine Exp $ */ /* *---------------------------------------------------------------------- @@ -1825,7 +1825,7 @@ int PDC_CDECL wscanw Args(( WINDOW*, char*,... )); #endif int PDC_CDECL wredrawln Args(( WINDOW*, int ,int )); int PDC_CDECL wrefresh Args(( WINDOW* )); -int PDC_CDECL wresize Args((WINDOW **win, int lins, int cols)); +/* int PDC_CDECL wresize Args((WINDOW **win, int lins, int cols)); */ int PDC_CDECL wscrl Args(( WINDOW*, int )); int PDC_CDECL wsetscrreg Args(( WINDOW*, int, int )); int PDC_CDECL wtimeout Args(( WINDOW *, int )); diff --git a/readme.27 b/readme.27 index 9741d79d..dc740c2e 100644 --- a/readme.27 +++ b/readme.27 @@ -25,7 +25,7 @@ BUGS FIXED: NEW FEATURES: - Implemented timeout() and wtimeout() Bug 695827 -- Implemented getattrs(), has_key(), wresize(), mvwgetnstr() +- Implemented getattrs(), has_key(), mvwgetnstr() Alexandr Zamaraev (Feature 1004399) - A window's default colors are used as curses default colors when environment variable: PDC_ORIGINAL_COLORS is set to any value.