[clutter/clutter-1.18] color: Fix documentation of 'hsla()' parsing



commit 33ebe92fdb420dd2620c104e8e2738cf2f4aa9fe
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 10 17:54:06 2014 +0000

    color: Fix documentation of 'hsla()' parsing
    
    The documentation for the s and l components is incorrect; these have to
    be percentage values and must have a '%' character right after the
    number.
    
    Based on a patch by: Pablo Pissanetzky <pablo trickplay com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662818

 clutter/clutter-color.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-color.c b/clutter/clutter-color.c
index dd49ed3..04b1cfa 100644
--- a/clutter/clutter-color.c
+++ b/clutter/clutter-color.c
@@ -656,9 +656,9 @@ parse_hsla (ClutterColor *color,
  * and 100%; the percentages require the '%' character. The 'a' value, if
  * specified, can only be a floating point value between 0.0 and 1.0.
  *
- * In the hls() and hlsa() formats, the 'h' value (hue) it's an angle between
+ * In the hls() and hlsa() formats, the 'h' value (hue) is an angle between
  * 0 and 360.0 degrees; the 'l' and 's' values (luminance and saturation) are
- * a floating point value between 0.0 and 1.0. The 'a' value, if specified,
+ * percentage values in the range between 0% and 100%. The 'a' value, if specified,
  * can only be a floating point value between 0.0 and 1.0.
  *
  * Whitespace inside the definitions is ignored; no leading whitespace


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]