Prevent a possible zero division
authorBastian Winkler <buz@netbuz.org>
Thu, 16 Apr 2009 11:06:58 +0000 (13:06 +0200)
committerNeil Roberts <neil@linux.intel.com>
Thu, 16 Apr 2009 16:16:31 +0000 (17:16 +0100)
commit5c50be1bdc3bf5d4f060324c23f5a0ca906dee42
treefcf1521d6e328045a383b46a238fe0cd632b096a
parent56ac4baf17e5917c738257d8beab7a583c793fcb
Prevent a possible zero division

A zero division might occur in clutter_path_get_position if the length
of a curved node is zero.

Signed-off-by: Neil Roberts <neil@linux.intel.com>
clutter/clutter-path.c