From 85cd3eb22a100fc52d3b01278050114f92bea6ae Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 12 Apr 2014 05:14:01 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_drm_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c index 987dd58..4775166 100644 --- a/src/blueshift_drm_c.c +++ b/src/blueshift_drm_c.c @@ -444,7 +444,7 @@ long blueshift_drm_get_edid(int connection, int connector_index, char* edid, lon memcpy(edid, blob->data, (size_t)len * sizeof(char)); } drmModeFreePropertyBlob(blob); - prop_i = connector->count_props; /* stop the for-loop */ + prop_i = prop_n; /* stop the for-loop */ } drmModeFreeProperty(prop); } -- cgit v1.2.3-70-g09d2