Skip to content

Commit 4059bca

Browse files
authored
Merge pull request #1323 from fastfetch-cli/dev
Release: v2.27.1
2 parents 44ccc69 + bb94ac7 commit 4059bca

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.27.1
2+
3+
Bugfixes:
4+
* Fix invalid display name detection on GNOME, wayland (Display, Linux)
5+
16
# 2.27.0
27

38
Changes:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.27.0
4+
VERSION 2.27.1
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -1614,4 +1614,4 @@ fastfetch is a neofetch-like tool for fetching system information and displaying
16141614
It is written mostly in C to achieve much better performance.\
16151615
")
16161616

1617-
include(CPack)
1617+
include(CPack)

src/detection/displayserver/linux/wayland/wayland.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static bool matchDrmConnector(const char* connName, WaylandDisplay* wldata)
109109

110110
uint8_t edidData[512];
111111
ssize_t edidLength = ffReadFileData(path.chars, sizeof(edidData), edidData);
112-
if (edidLength <= 0 || edidLength % 128 != 0)
112+
if (edidLength > 0 && edidLength % 128 == 0)
113113
{
114114
ffEdidGetName(edidData, &wldata->edidName);
115115
ffEdidGetHdrCompatible(edidData, (uint32_t) edidLength);

0 commit comments

Comments
 (0)