mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
LM (Linux): fix compiling
This commit is contained in:
@@ -60,7 +60,7 @@ static const char* getSddmVersion(FFstrbuf* version)
|
||||
}
|
||||
|
||||
ffStrbufSubstrBefore(version, ffStrbufNextIndexC(version, index, '\n'));
|
||||
ffStrbufSubstrAfter(version, index + strlen(".TH "));
|
||||
ffStrbufSubstrAfter(version, index + (uint32_t) strlen(".TH "));
|
||||
|
||||
// "SDDM" 1 "May 2014" "sddm 0.20.0" "sddm"
|
||||
ffStrbufSubstrBeforeLastC(version, ' ');
|
||||
@@ -95,7 +95,7 @@ static const char* getXfwmVersion(FFstrbuf* version)
|
||||
|
||||
static const char* getLightdmVersion(FFstrbuf* version)
|
||||
{
|
||||
const char* error = = ffProcessAppendStdOut(version, (char* const[]) {
|
||||
const char* error = ffProcessAppendStdOut(version, (char* const[]) {
|
||||
"lightdm",
|
||||
"--version",
|
||||
NULL
|
||||
|
||||
Reference in New Issue
Block a user