Browse Source

core: fix a mistake in the caca_set_color_ansi() documentation.

tags/v0.99.beta19
Sam Hocevar sam 12 years ago
parent
commit
8046b1b287
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caca/attr.c

+ 1
- 1
caca/attr.c View File

@@ -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 * Color values are those defined in caca.h, such as CACA_RED
* or CACA_TRANSPARENT. * 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. * - \c EINVAL At least one of the colour values is invalid.
* *
* \param cv A handle to the libcaca canvas. * \param cv A handle to the libcaca canvas.


Loading…
Cancel
Save