diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-25 18:08:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-27 10:26:17 +0900 |
| commit | 7f36db4704fe1e47683ecc8e07654b4762edd725 (patch) | |
| tree | efd584e0370eaaf5540ecbd6e588f4012a212900 /kstart/kstart.cpp | |
| parent | ecaede25a924ea84ed48a164299a9d96a7976b1f (diff) | |
| download | tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.tar.gz tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
Diffstat (limited to 'kstart/kstart.cpp')
| -rw-r--r-- | kstart/kstart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kstart/kstart.cpp b/kstart/kstart.cpp index bcf915b07..3eb79e6ea 100644 --- a/kstart/kstart.cpp +++ b/kstart/kstart.cpp @@ -181,9 +181,9 @@ static bool wstate_withdrawn( WId winid ) unsigned long length, after; unsigned char *data; int r = XGetWindowProperty( tqt_xdisplay(), winid, tqt_wm_state, 0, 2, - FALSE, AnyPropertyType, &type, &format, + false, AnyPropertyType, &type, &format, &length, &after, &data ); - bool withdrawn = TRUE; + bool withdrawn = true; if ( r == Success && data && format == 32 ) { TQ_UINT32 *wstate = (TQ_UINT32*)data; withdrawn = (*wstate == WithdrawnState ); |
