From 63c0ef5681e869ceea908fe73f6c66bcd3bf442a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 16 Dec 2025 12:04:45 +0100 Subject: Remove typo in variable name --- src/Fl_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 8d6417fea..da1e3f380 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -2196,7 +2196,7 @@ void Fl_WinAPI_Window_Driver::makeWindow() { nscreen = Fl::screen_driver()->get_mouse(mx, my); Fl::screen_xywh(X, Y, W, H, nscreen); if (mx + w->w() >= X + W) mx = X + W - w->w(); - if (my + w->h() >= H + H) my = Y + H - w->h(); + if (my + w->h() >= Y + H) my = Y + H - w->h(); w->position(mx, my); } } -- cgit v1.2.3