- g_string_append_printf (cat_a, "%d", ope_splits[i]->kcat);
- g_string_append(amt_a, g_ascii_dtostr (buf, sizeof (buf), ope_splits[i]->amount) );
- g_string_append(mem_a, ope_splits[i]->memo);
+ split = g_ptr_array_index(splits, i);
+ g_string_append_printf (cat_a, "%d", split->kcat);
+ g_string_append(amt_a, g_ascii_dtostr (buf, sizeof (buf), split->amount) );
+ g_string_append(mem_a, split->memo);