diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 11:30:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 18:56:13 +0900 |
| commit | 0e49011417d3f5e1582af8608846dc19181bf208 (patch) | |
| tree | cec1d6857d20a85e32d3e48e60672d18cd1e269f /src/util.cpp | |
| parent | dd6ed4e4d6b3cc8be75e2b1a8aaadc6eed0fb5c5 (diff) | |
| download | tdedocker-0e490114.tar.gz tdedocker-0e490114.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 04e4c81e885b8090a775d88d525d4c66c6dcba05)
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp index 541aece..1093305 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -180,12 +180,12 @@ bool analyzeWindow(Display *display, Window w, pid_t epid, const TQString &ename // lets try the program name if (XGetClassHint(display, w, &ch)) { - if (TQString(ch.res_name).find(ename, 0, FALSE) != -1) + if (TQString(ch.res_name).find(ename, 0, false) != -1) { TRACE("ResName [%s] matched", ch.res_name); this_is_our_man = true; } - else if (TQString(ch.res_class).find(ename, 0, FALSE) != -1) + else if (TQString(ch.res_class).find(ename, 0, false) != -1) { TRACE("ResClass [%s] matched", ch.res_class); this_is_our_man = true; @@ -195,7 +195,7 @@ bool analyzeWindow(Display *display, Window w, pid_t epid, const TQString &ename // sheer desperation char *wm_name = NULL; XFetchName(display, w, &wm_name); - if (wm_name && (TQString(wm_name).find(ename, 0, FALSE) != -1)) + if (wm_name && (TQString(wm_name).find(ename, 0, false) != -1)) { TRACE("WM_NAME [%s] matched", wm_name); this_is_our_man = true; |
