mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Style: adds Cpp11BracedListStyle: Block
This commit is contained in:
+593
-594
File diff suppressed because it is too large
Load Diff
@@ -887,7 +887,7 @@ static bool printCached(FFLogoRequestData* requestData) {
|
||||
static bool getCharacterPixelDimensions(FFLogoRequestData* requestData) {
|
||||
# ifdef _WIN32
|
||||
|
||||
CONSOLE_FONT_INFOEX cfi = {.cbSize = sizeof(cfi)};
|
||||
CONSOLE_FONT_INFOEX cfi = { .cbSize = sizeof(cfi) };
|
||||
if (GetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi)) // Only works for ConHost
|
||||
{
|
||||
requestData->characterPixelWidth = cfi.dwFontSize.X;
|
||||
|
||||
+1
-2
@@ -564,8 +564,7 @@ static bool logoTryKnownType(void) {
|
||||
"/bin/sh", "-c",
|
||||
#endif
|
||||
options->source.chars,
|
||||
NULL
|
||||
});
|
||||
NULL });
|
||||
|
||||
if (error) {
|
||||
if (instance.config.display.showErrors) {
|
||||
|
||||
Reference in New Issue
Block a user