summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/blueshift_drm_c.c2
1 files changed, 1 insertions, 1 deletions
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);
}