Code

(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
authorpjrm <pjrm@users.sourceforge.net>
Mon, 13 Mar 2006 02:56:37 +0000 (02:56 +0000)
committerpjrm <pjrm@users.sourceforge.net>
Mon, 13 Mar 2006 02:56:37 +0000 (02:56 +0000)
commit0f7a5e70b0c18806962030f9ffb15bdaaa18c495
treebf6d843265b5ee712d8f3a81a267b18d66b68b3c
parent4c0c5f0746040f82ed29fd56421a81f8cebf4f55
(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int.
(sp_svg_write_color): Require buflen >= 8.  (All existing callers already conform.)
doc: Remove out-of-date (and incorrect: cannot have space in `rgb(' for CSS colors) todo comment.
noop: SP_SVG_NUMCOLORS is used in only one place; replace it with inline G_N_ELEMENTS(...).
src/svg/svg-color.cpp