summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-02-18 16:23:11 +0900
committerJunsuChoi <jsuya.choi@samsung.com>2020-02-18 16:23:11 +0900
commitae0994caa35b7907863150726870d675e39fc4da (patch)
tree25c3450271d938252c62711c5a604e9586932c90
parent5b349c1ea1a580c81bec2eb726d8cf7cfc311c82 (diff)
Efl.Gfx.Path: Fix condition of for loop in current search
END enum is 0. Fixed due to 064690d46e7ed67becf9710588e7c37a31ab807f @fix
-rw-r--r--src/lib/efl/interfaces/efl_gfx_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c
index d2da2ac35d..9852de1498 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -132,7 +132,7 @@ _efl_gfx_path_current_search(const Efl_Gfx_Path_Command *cmd,
132 132
133 if (!cmd || !points) return EINA_FALSE; 133 if (!cmd || !points) return EINA_FALSE;
134 134
135 for (i = 0; cmd[i] < EFL_GFX_PATH_COMMAND_TYPE_END; i++) 135 for (i = 0; cmd[i] != EFL_GFX_PATH_COMMAND_TYPE_END; i++)
136 { 136 {
137 switch (cmd[i]) 137 switch (cmd[i])
138 { 138 {