From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id C32EC29BBC9; Sat, 17 Oct 2026 11:24:58 +1100 (AEDT) Date: Sat, 17 Oct 2026 11:25:00 +1100 To: sup-commits@supmua.dev Subject: [ncursesw-ruby.git] 02/10: fix wrong argument passed to wenclose() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179219669847.381480.6906705364727468632@bl2.djc.id.au> References: <179219669847.381480.6906705364727468632@bl2.djc.id.au> Thread-Index: AQAAEjRW1ch74naHRnKg4xL7js+6AQ== X-Git-Host: bl2.djc.id.au X-Git-Repo: ncursesw-ruby.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: b760630f6ccbfa3c14ed552b6913b179475dc402 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261017002458.C32EC29BBC9@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch master: https://supmua.dev/git/ncursesw-ruby/commit/b760630f6ccbfa3c14ed552b6913b179475dc402.html commit b760630f6ccbfa3c14ed552b6913b179475dc402 Author: Dan Callaghan AuthorDate: Thu Oct 8 21:06:19 2026 +1100 fix wrong argument passed to wenclose() --- ncurses_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncurses_wrap.c b/ncurses_wrap.c index 7f7ef89..e511a4e 100644 --- a/ncurses_wrap.c +++ b/ncurses_wrap.c @@ -2377,7 +2377,7 @@ static VALUE rbncurs_mousemask(VALUE dummy, VALUE rb_newmask, VALUE rb_oldmask) #ifdef HAVE_WENCLOSE static VALUE rbncurs_wenclose(VALUE dummy, VALUE rb_win, VALUE rb_y, VALUE rb_x) { - return wenclose(get_window(rb_win), NUM2INT(rb_y), NUM2INT(rb_y)) + return wenclose(get_window(rb_win), NUM2INT(rb_y), NUM2INT(rb_x)) ? Qtrue : Qfalse; } #endif