From: yu.dongliang <18588496441@163.com> Date: Tue, 5 Sep 2023 11:15:25 +0000 (+0800) Subject: __ses_path_va() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=01b2cd4fead7346ccf8ba0c26a08352871b6bd44;p=ses.git __ses_path_va() --- diff --git a/ses_step_va.c b/ses_step_va.c index e696eff..8d4577d 100644 --- a/ses_step_va.c +++ b/ses_step_va.c @@ -235,16 +235,16 @@ static int __ses_path_va(ScfEfunction* f, ses_path_t* path) __ses_ir_u(&_v, &_jv, a, ja, _r, _jr); __ses_ur_i(&_a, &_ja, _v, _jv, child->r, child->jr); + a -= _a; + ja -= _ja; + el = f->elines[p2->lid]; el->v = p->v - _v; el->jv = p->jv - _jv; -// int ret = __ses_path_va(f, child); -// if (ret < 0) -// return ret; - - a -= _a; - ja -= _ja; + int ret = __ses_path_va(f, child); + if (ret < 0) + return ret; } }