From 74babecc704e81c32a2d02d09a030d5672d658e7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 31 Oct 2006 14:34:06 +0000 Subject: [PATCH] * Clarify cucul_get_attr() behaviour in the cucul_set_attr() documentation. --- cucul/colour.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cucul/colour.c b/cucul/colour.c index 9508f8a..e2ac825 100644 --- a/cucul/colour.c +++ b/cucul/colour.c @@ -74,6 +74,8 @@ unsigned long int cucul_get_attr(cucul_canvas_t *cv, int x, int y) * \e CUCUL_BLINK, \e CUCUL_BOLD and \e CUCUL_ITALICS), in which case * setting the attribute does not modify the current colour information. * + * To retrieve the current attribute value, use cucul_get_attr(-1,-1). + * * If an error occurs, -1 is returned and \b errno is set accordingly: * - \c EINVAL The attribute value is out of the 32-bit range. *