summaryrefslogtreecommitdiff
path: root/legacy/eobj/src/lib/eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eobj/src/lib/eo.c')
-rw-r--r--legacy/eobj/src/lib/eo.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/legacy/eobj/src/lib/eo.c b/legacy/eobj/src/lib/eo.c
index 2758044592..5e95291854 100644
--- a/legacy/eobj/src/lib/eo.c
+++ b/legacy/eobj/src/lib/eo.c
@@ -285,14 +285,20 @@ _eo_kls_itr_next(const Eo_Class *orig_kls, Eo_Kls_Itr *cur, Eo_Kls_Itr *prev_sta
285 if (*kls_itr) 285 if (*kls_itr)
286 { 286 {
287 kls_itr++; 287 kls_itr++;
288 if (*kls_itr) 288 while (*kls_itr)
289 { 289 {
290 const op_type_funcs *fsrc = _dich_func_get(*kls_itr, op); 290 const op_type_funcs *fsrc = _dich_func_get(*kls_itr, op);
291 if (!fsrc->func)
292 {
293 kls_itr++;
294 continue;
295 }
291 cur->kls = fsrc->src; 296 cur->kls = fsrc->src;
292 return cur->kls; 297 return cur->kls;
293 } 298 }
294 } 299 }
295 300
301 cur->kls = NULL;
296 return NULL; 302 return NULL;
297} 303}
298 304