WM (Linux): fix niri version detection logic
This commit is contained in:
1 file changed
+1
-1
@@ -170,8 +170,8 @@ static const char* getNiri(FFstrbuf* result)
|
||||
NULL
|
||||
}) == NULL)
|
||||
{ // niri 25.11 (b35bcae)
|
||||
ffStrbufSubstrBeforeLastC(result, ' ');
|
||||
ffStrbufSubstrAfterFirstC(result, ' ');
|
||||
ffStrbufSubstrBeforeLastC(result, ' ');
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user