mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 21:24:43 +01:00
Chore: tidy tabs
This commit is contained in:
@@ -86,14 +86,14 @@ const char* ffDetectInitSystem(FFInitSystemResult* result)
|
||||
}
|
||||
else if (ffStrbufEqualS(&result->name, "guile"))
|
||||
{
|
||||
/* TODO: guile is actually shepherd */
|
||||
if (ffProcessAppendStdOut(&result->version, (char* const[]) {
|
||||
ffStrbufEndsWithS(&result->exe, "/guile") ? result->exe.chars : "guile",
|
||||
"--version",
|
||||
/* TODO: guile is actually shepherd */
|
||||
if (ffProcessAppendStdOut(&result->version, (char* const[]) {
|
||||
ffStrbufEndsWithS(&result->exe, "/guile") ? result->exe.chars : "guile",
|
||||
"--version",
|
||||
NULL,
|
||||
}) == NULL && result->version.length)
|
||||
{
|
||||
/* guile (GNU Guile) 3.0.9 */
|
||||
/* guile (GNU Guile) 3.0.9 */
|
||||
ffStrbufSubstrBeforeFirstC(&result->version, '\n');
|
||||
ffStrbufSubstrAfterLastC(&result->version, ' ');
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ const char* ffDetectSwap(FFlist* result)
|
||||
if (kvms)
|
||||
{
|
||||
const char* swapAuto = get_driver_parameter(kvms, "swap_auto", NULL, NULL);
|
||||
if (swapAuto)
|
||||
if (swapAuto)
|
||||
ffStrbufSetStatic(&swap->name, swapAuto[0] == 'y' ? "Auto" : "Manual");
|
||||
unload_driver_settings(kvms);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user