simplify and optimize parsing of percentage and float values.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Feb 2010 22:51:07 +0000 (22:51 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Feb 2010 22:51:07 +0000 (22:51 +0000)
commit8929e93fba15488da28b74d32694ac9bdf4eb148
tree28d5e4ef1b26baa85a3f21bae1f076252134c7cc
parentca0a8117e488143d8b8f2e305ec8ee8bc8e3ab05
simplify and optimize parsing of percentage and float values.

Use strtod() and avoid couple of walks. Of course the walks were quite
small and it will not bring noticeable improvements, but code is
smaller and easier to read, so why not?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@46530 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_object_textblock.c