mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-03 04:28:12 +00:00
fix ternary operators in eval; fix incorrect oplist concatentation path
This commit is contained in:
+5
-5
@@ -149,12 +149,12 @@ e_oplist_concat_in_place(E_OpList *dst, E_OpList *to_push)
|
||||
{
|
||||
if(to_push->first && dst->first)
|
||||
{
|
||||
to_push->last->next = dst->first;
|
||||
to_push->last = dst->last;
|
||||
to_push->op_count += to_push->op_count;
|
||||
to_push->encoded_size += to_push->encoded_size;
|
||||
dst->last->next = to_push->first;
|
||||
dst->last = to_push->last;
|
||||
dst->op_count += to_push->op_count;
|
||||
dst->encoded_size += to_push->encoded_size;
|
||||
}
|
||||
else if(dst->first)
|
||||
else if(!dst->first)
|
||||
{
|
||||
MemoryCopyStruct(dst, to_push);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user