From 70a70658cd7e59c6724d02c8735e69eb056af617 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 14 Jun 2020 14:00:48 +0100 Subject: [PATCH] fix null edid more - found hole missed in last fix adds more fix on top 80f92ee486dd98ec3b72a1ab3d77f7472f35323e --- src/bin/e_backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index d2f9964a8..cdb2c6a3f 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -131,7 +131,7 @@ _backlight_devices_zone_device_find(E_Zone *zone) id = zone->randr2_id; if (!id) id = "/"; - tmp = strdup(zone->randr2_id); + tmp = strdup(id); if (!tmp) return NULL; sep = strchr(tmp, '/'); if (!sep)