mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-01 18:42:56 +01:00
fixed a bug in caching
This commit is contained in:
+1
-4
@@ -13,8 +13,5 @@ void ffPrintResolution(FFstate* state)
|
||||
char resolution[1024];
|
||||
sprintf(resolution, "%ix%i", screen->width, screen->height);
|
||||
|
||||
ffSaveCachedValue(state, "Resolution", resolution);
|
||||
|
||||
ffPrintLogoAndKey(state, "Resolution");
|
||||
puts(resolution);
|
||||
ffPrintAndSaveCachedValue(state, "Resolution", resolution);
|
||||
}
|
||||
Reference in New Issue
Block a user