mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-05 20:54:21 +01:00
much more efficient caching
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ void ffPrintTitle(FFinstance* instance)
|
||||
char hostname[256];
|
||||
gethostname(hostname, 256);
|
||||
|
||||
instance->config.titleLength = strlen(instance->state.passwd->pw_name) + 1 + strlen(hostname);
|
||||
instance->config.titleLength = (uint32_t) strlen(instance->state.passwd->pw_name) + 1 + strlen(hostname);
|
||||
|
||||
ffPrintLogoLine(instance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user