From: Victor Cebollada Date: Mon, 25 Apr 2016 10:35:01 +0000 (+0100) Subject: Color segmentation - Comment updated. X-Git-Tag: dali_1.1.32~16 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=331dbcb84b716d8c889a30e2cf5afa0359384bd1 Color segmentation - Comment updated. Change-Id: I82991c2f9813e7888b139bce8faad95e4e944c77 Signed-off-by: Victor Cebollada --- diff --git a/dali-toolkit/internal/text/color-segmentation.cpp b/dali-toolkit/internal/text/color-segmentation.cpp index f0d6838..3c2f76a 100644 --- a/dali-toolkit/internal/text/color-segmentation.cpp +++ b/dali-toolkit/internal/text/color-segmentation.cpp @@ -40,12 +40,12 @@ namespace Text * @param[in,out] colors The vector of colors. * @param[in] color The color to find. * - * @return The index where the color is in the vector. + * @return The index + 1 where the color is in the vector. The index zero is reserved for the default color. */ ColorIndex FindColor( Vector& colors, const Vector4& color ) { - ColorIndex index = 1u; + ColorIndex index = 1u; // The index zero is reserved for the default color. for( Vector::Iterator it = colors.Begin(), endIt = colors.End(); it != endIt;