summaryrefslogtreecommitdiffstats
path: root/src/blueshift_drm_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-12 05:14:01 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-12 05:14:01 +0200
commit85cd3eb22a100fc52d3b01278050114f92bea6ae (patch)
treec0802bce7e627225db77ce70fa8de0199bb10904 /src/blueshift_drm_c.c
parenttypo (diff)
downloadblueshift-85cd3eb22a100fc52d3b01278050114f92bea6ae.tar.gz
blueshift-85cd3eb22a100fc52d3b01278050114f92bea6ae.tar.bz2
blueshift-85cd3eb22a100fc52d3b01278050114f92bea6ae.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_drm_c.c')
-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);
}