color.el (color-name-to-rgb): Use the white color to find the max color component...
authorJulien Danjou <julien@danjou.info>
Thu, 19 Jan 2012 23:06:49 +0000 (23:06 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 19 Jan 2012 23:06:49 +0000 (23:06 +0000)
commit0d0deb382bfc139f4c30f1f17ef1ab410ff94836
treeb42830135710aea1059a7dc389940794b6a6b5c1
parent1ef176814849c2c180ce80c65feb7af3ca3efa68
color.el (color-name-to-rgb): Use the white color to find the max color component value and return correctly computed values.
 (color-name-to-rgb): Add missing float conversion for max value.
lisp/ChangeLog
lisp/color.el