summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-12 05:05:21 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-12 05:05:21 +0200
commit2c9b1d2817eaeaf934abe2a41f65bb43fef3ea8b (patch)
treebaf8032b3f6c3d124c59a98c1df27eab3fbd66fa /src
parentm doc (diff)
downloadblueshift-2c9b1d2817eaeaf934abe2a41f65bb43fef3ea8b.tar.gz
blueshift-2c9b1d2817eaeaf934abe2a41f65bb43fef3ea8b.tar.bz2
blueshift-2c9b1d2817eaeaf934abe2a41f65bb43fef3ea8b.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/blueshift_drm_c.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c
index 1f010c0..987dd58 100644
--- a/src/blueshift_drm_c.c
+++ b/src/blueshift_drm_c.c
@@ -403,7 +403,9 @@ const char* blueshift_drm_get_connector_type_name(int connection, int connector_
*
* @param connection The identifier for the connection to the card
* @param connector_index The index of the connector
- * @param edid Storage location for the EDID, it should be 256 bytes, 512 bytes + zero termination if hex
+ * @param edid Storage location for the EDID, it should be 128 bytes,
+ * or 256 bytes if you are counting on the depricated EDID 2.0,
+ * If hexadecimal, twice that + zero termiation.
* @param size The size allocated to `edid` excluding your zero termination
* @param hexadecimal Whether to convert to hexadecimal representation, this is preferable
* @return The length of the found value, 0 if none, as if hex is false
@@ -442,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 to for loop */
+ prop_i = connector->count_props; /* stop the for-loop */
}
drmModeFreeProperty(prop);
}