From 8046b1b28730f8f758ee9c23eca7c1f24548378f Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 22 Oct 2012 09:51:55 +0000 Subject: [PATCH] core: fix a mistake in the caca_set_color_ansi() documentation. --- caca/attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca/attr.c b/caca/attr.c index 68141cb..34eff8f 100644 --- a/caca/attr.c +++ b/caca/attr.c @@ -223,7 +223,7 @@ int caca_put_attr(caca_canvas_t *cv, int x, int y, uint32_t attr) * Color values are those defined in caca.h, such as CACA_RED * or CACA_TRANSPARENT. * - * If an error occurs, 0 is returned and \b errno is set accordingly: + * If an error occurs, -1 is returned and \b errno is set accordingly: * - \c EINVAL At least one of the colour values is invalid. * * \param cv A handle to the libcaca canvas.