projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
857fde3
)
lottie/vector: return correct number from segments() api.
10/187410/1
author
subhransu mohanty
<sub.mohanty@samsung.com>
Thu, 23 Aug 2018 04:13:08 +0000
(13:13 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Thu, 23 Aug 2018 04:13:08 +0000
(13:13 +0900)
Change-Id: Ifb90d0f7567ba0737f70c7b7abfc467e94004780
src/vector/vpath.cpp
patch
|
blob
|
history
diff --git
a/src/vector/vpath.cpp
b/src/vector/vpath.cpp
index f12f6511972ad74b5c3161237defb34315fedbc4..085094c530b9a5234ae973b70a32733c6a1538d6 100644
(file)
--- a/
src/vector/vpath.cpp
+++ b/
src/vector/vpath.cpp
@@
-118,7
+118,7
@@
void VPath::VPathData::reset()
int VPath::VPathData::segments() const
{
- return m_segments
+ 1
;
+ return m_segments;
}
void VPath::VPathData::reserve(int pts, int elms)