From 96e7f65902dc61a275f4b39c6693dfdf849ace9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 3 Jul 2024 13:56:35 +0800 Subject: [PATCH] DE (Linux): fix silly bug --- src/detection/de/de_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/de/de_linux.c b/src/detection/de/de_linux.c index 7b31160ed..a0db88a92 100644 --- a/src/detection/de/de_linux.c +++ b/src/detection/de/de_linux.c @@ -79,7 +79,7 @@ static void getCinnamon(FFstrbuf* result, FF_MAYBE_UNUSED FFDEOptions* options) if (result->length == 0) ffParsePropFileData("applications/cinnamon.desktop", "X-GNOME-Bugzilla-Version =", result); - if (!result->length == 0 && options->slowVersionDetection) + if (result->length == 0 && options->slowVersionDetection) { if (ffProcessAppendStdOut(result, (char* const[]){ "cinnamon",