commit ab7ef7466ce78093d4c97ae014c3d345dc71ac99
parent 63c77b2506f6bb994f15f6bd5db25beb4754e747
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 10 Oct 2026 18:10:30 +1100
fix duplicate definition of pair_content method
It was causing a warning in Sup's test suite, now that there is a call
to Ncurses.newterm:
test/unit/test_line_cursor_mode.rb:15: warning: method redefined; discarding old pair_content
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ncurses_wrap.c b/ncurses_wrap.c
@@ -2090,7 +2090,6 @@ static void init_functions_2(void) {
NCFUNC(wvline, 3);
NCFUNC(color_content, 4);
NCFUNC(pair_content, 3);
- NCFUNC(pair_content, 3);
#ifdef HAVE_GETWIN
NCFUNC(getwin, 1);
#endif