aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-facade.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-21 05:42:27 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-21 05:42:27 +0200
commitb228e5333a352b89da61d2d46b9a1422ea2718c4 (patch)
tree2db9dc7b82b1bce083680963eafb38d14865c1ad /src/libgamma-facade.h
parentadd restrict:s and __attribute__:s (diff)
downloadlibgamma-b228e5333a352b89da61d2d46b9a1422ea2718c4.tar.gz
libgamma-b228e5333a352b89da61d2d46b9a1422ea2718c4.tar.bz2
libgamma-b228e5333a352b89da61d2d46b9a1422ea2718c4.tar.xz
fix doc for libgamma_unhex_edid
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma-facade.h')
-rw-r--r--src/libgamma-facade.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgamma-facade.h b/src/libgamma-facade.h
index 9d7b91e..0b9b542 100644
--- a/src/libgamma-facade.h
+++ b/src/libgamma-facade.h
@@ -231,9 +231,9 @@ char* libgamma_behex_edid_uppercase(const unsigned char* restrict edid, size_t l
* Convert an hexadecimal representation of an EDID to a raw representation
*
* @param edid The EDID in hexadecimal representation
- * @retrun The EDID in raw representation, it will be twice the length
- * of `edid` (the input value). `NULL` on allocation error,
- * `errno` will be set accordingly.
+ * @retrun The EDID in raw representation, it will be half the length
+ * of `edid` (the input value). `NULL` on allocation error or
+ * if the EDID is malformated, `errno` will be set accordingly.
*/
unsigned char* libgamma_unhex_edid(const char* restrict edid);