From 2ef1e7728ea7debe92cda749c69b66db93f1ca0c Mon Sep 17 00:00:00 2001 From: Steven Van Dorp Date: Thu, 19 Jun 2025 06:40:49 +0200 Subject: [PATCH] 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 --- hw/kdrive/ephyr/ephyr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index d94eca8b6..9b00ed11f 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -732,7 +732,7 @@ ephyrPrintGrabShortcut(char* const out, size_t const out_size, EphyrKeybindToggleHostGrabKey == 0 ) || ( EphyrTitleHostGrabKeyComboHint == 0 || - EphyrTitleHostGrabKeyComboHint == 0 + EphyrTitleHostGrabKeyComboHintLen == 0 ) ) { /* grabbing disabled */