diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-07 16:54:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-08-07 16:54:27 (GMT) |
commit | 1bf09d996db33caee8bdd65a250ca6d236bf378c (patch) | |
tree | 081984ce5759b5e07c257d30af1e4133844f33e5 /generic/tkPointer.c | |
parent | 9d7722a93a877619eb6f485e4eb669e4e637c8ba (diff) | |
parent | 74c6e99a894070ccbced3d3c9276d5c42140b339 (diff) | |
download | tk-1bf09d996db33caee8bdd65a250ca6d236bf378c.zip tk-1bf09d996db33caee8bdd65a250ca6d236bf378c.tar.gz tk-1bf09d996db33caee8bdd65a250ca6d236bf378c.tar.bz2 |
Tweak some error-messages. Fix indenting
Diffstat (limited to 'generic/tkPointer.c')
-rw-r--r-- | generic/tkPointer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c index 2fbdedf..1bc8411 100644 --- a/generic/tkPointer.c +++ b/generic/tkPointer.c @@ -512,14 +512,14 @@ TkPointerDeadWindow( } if (!(tsdPtr->restrictWinPtr || tsdPtr->grabWinPtr)) { - /* - * Release mouse capture only if the dead window is the capturing - * window. - */ + /* + * Release mouse capture only if the dead window is the capturing + * window. + */ - if (winPtr == (TkWindow *)TkpGetCapture()) { + if (winPtr == (TkWindow *)TkpGetCapture()) { TkpSetCapture(NULL); - } + } } } |