mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
fixed X- truncating on DE output
This commit is contained in:
@@ -248,7 +248,7 @@ static inline void getDE(FFWMDEResult* result, ProcData* procData)
|
||||
ffStrbufSet(&result->dePrettyName, &result->deProcessName);
|
||||
|
||||
if(ffStrbufStartsWithIgnCaseS(&result->dePrettyName, "X-"))
|
||||
ffStrbufSubstrAfter(&result->deProcessName, 2);
|
||||
ffStrbufSubstrAfter(&result->dePrettyName, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user