projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'genete_master'
[synfig.git]
/
ETL
/
trunk
/
ETL
/
_bezier.h
diff --git
a/ETL/trunk/ETL/_bezier.h
b/ETL/trunk/ETL/_bezier.h
index
70dfe99
..
fe6b170
100644
(file)
--- a/
ETL/trunk/ETL/_bezier.h
+++ b/
ETL/trunk/ETL/_bezier.h
@@
-25,8
+25,8
@@
/* === S T A R T =========================================================== */
/* === S T A R T =========================================================== */
-#ifndef __ETL_BEZIER_H
-#define __ETL_BEZIER_H
+#ifndef __ETL_
_
BEZIER_H
+#define __ETL_
_
BEZIER_H
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
@@
-577,6
+577,7
@@
public:
distance_type find_distance(time_type r, time_type s, int steps=7)const
{
const time_type inc((s-r)/steps);
distance_type find_distance(time_type r, time_type s, int steps=7)const
{
const time_type inc((s-r)/steps);
+ if (!inc) return 0;
distance_type ret(0);
value_type last(operator()(r));
distance_type ret(0);
value_type last(operator()(r));