mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-05 20:54:21 +01:00
refactored internal state keeping
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
|
||||
void ffPrintKernel(FFstate* state)
|
||||
void ffPrintKernel(FFinstance* instance)
|
||||
{
|
||||
ffPrintLogoAndKey(state, "Kernel");
|
||||
printf("%s\n", state->utsname.release);
|
||||
ffPrintLogoAndKey(instance, "Kernel");
|
||||
printf("%s\n", instance->state.utsname.release);
|
||||
}
|
||||
Reference in New Issue
Block a user