ephyr: fix checking the same expression twice

Probably was a copy-paste error.
Intention is to check if the string is valid
(i.e. not null and length isn't 0).

fixes: #179

Signed-off-by: Steven Van Dorp <steven@vandorp.lu>
This commit is contained in:
Steven Van Dorp 2025-06-19 06:40:49 +02:00 committed by Enrico Weigelt
parent 4267785e6f
commit 2ef1e7728e

View File

@ -732,7 +732,7 @@ ephyrPrintGrabShortcut(char* const out, size_t const out_size,
EphyrKeybindToggleHostGrabKey == 0 EphyrKeybindToggleHostGrabKey == 0
) || ( ) || (
EphyrTitleHostGrabKeyComboHint == 0 || EphyrTitleHostGrabKeyComboHint == 0 ||
EphyrTitleHostGrabKeyComboHint == 0 EphyrTitleHostGrabKeyComboHintLen == 0
) )
) { ) {
/* grabbing disabled */ /* grabbing disabled */