Skip to content

Commit

Permalink
Fix --print-logos
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusDierheimer committed Jun 8, 2022
1 parent d23d4ef commit dbe24c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.1.0) # Threads::Threads

project(fastfetch
VERSION 1.5.0
VERSION 1.5.1
LANGUAGES C
)

Expand Down
2 changes: 2 additions & 0 deletions src/logo/logo.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ void ffLogoBuiltinPrint(FFinstance* instance)
logoPrintStruct(instance, logo);
ffLogoPrintRemaining(instance);

//reset everything
instance->state.logoHeight = 0;
instance->state.keysHeight = 0;
for(uint8_t i = 0; i < FASTFETCH_LOGO_MAX_COLORS; i++)
ffStrbufClear(&instance->config.logoColors[i]);

Expand Down

0 comments on commit dbe24c7

Please sign in to comment.