From bcbc5a4bff537f7182b633f5a2ed3a17903e6e81 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 1 Jan 2026 22:29:11 +0800 Subject: [PATCH] DE (Linux): fix COSMIC version detection --- 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 c4138777b..dc333c53f 100644 --- a/src/detection/de/de_linux.c +++ b/src/detection/de/de_linux.c @@ -242,8 +242,8 @@ static const char* getCosmic(FFstrbuf* result, FF_MAYBE_UNUSED FFDEOptions* opti NULL }) == NULL) { // cosmic-comp 0.1.0 (git commit fa88002ba41d2edec25dd7ffdee9719fbb928fc0) - ffStrbufSubstrBeforeLastC(result, ' '); ffStrbufSubstrAfterFirstC(result, ' '); + ffStrbufSubstrBeforeFirstC(result, ' '); return NULL; }