diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d9a43c8d..349a88543 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.1.0) # Threads::Threads project(fastfetch - VERSION 1.1.1 + VERSION 1.1.2 LANGUAGES C ) diff --git a/src/detection/media.c b/src/detection/media.c index 4d1b9dca4..bca8a5d64 100644 --- a/src/detection/media.c +++ b/src/detection/media.c @@ -336,7 +336,7 @@ static void getMedia(FFinstance* instance, FFMediaResult* result) //Check again for length, as we may have removed everything. //If we don't have subdomains, it is usually more pretty to capitalize the first letter. - if(result->playerPretty.length > 0 && ffStrbufFirstIndexC(&result->playerPretty, '.') < result->playerPretty.length) + if(result->playerPretty.length > 0 && ffStrbufFirstIndexC(&result->playerPretty, '.') == result->playerPretty.length) result->playerPretty.chars[0] = (char) toupper(result->playerPretty.chars[0]); }