Skip to content

Commit dbe24c7

Browse files
Fix --print-logos
1 parent d23d4ef commit dbe24c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.1.0) # Threads::Threads
22

33
project(fastfetch
4-
VERSION 1.5.0
4+
VERSION 1.5.1
55
LANGUAGES C
66
)
77

src/logo/logo.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ void ffLogoBuiltinPrint(FFinstance* instance)
365365
logoPrintStruct(instance, logo);
366366
ffLogoPrintRemaining(instance);
367367

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

0 commit comments

Comments
 (0)