diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-12-16 12:04:45 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-12-16 12:04:45 +0100 |
| commit | 63c0ef5681e869ceea908fe73f6c66bcd3bf442a (patch) | |
| tree | 2b48b81e8e88f784810299ad5e119fcd821c9ab4 | |
| parent | e33130d2042bdfc5e83e97204abd25f050c3429c (diff) | |
Remove typo in variable name
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
