commit - 9dc0554fce377600fe0ce54848f2e735902616b6
commit + e5447b812ab13381bef489dc01804c25cc226cd6
blob - fc42705e455eed510d33e5ba7fa6469c6e823534
blob + ff4b2f0ccb2a179948064d7170c6730ca40a54aa
--- lib/diff_main.c
+++ lib/diff_main.c
int err;
bool same;
err = diff_atom_same(&same, &l[equal_atoms_start],
- &r[equal_atoms_start]);
+ &r[equal_atoms_start]);
if (err)
return err;
if (!same)
/* Add a chunk of equal lines at the start */
if (equal_atoms_start) {
if (!diff_state_add_chunk(state, true,
- &l[0],
- equal_atoms_start,
- &r[0],
- equal_atoms_start))
+ l, equal_atoms_start,
+ r, equal_atoms_start))
return ENOMEM;
l_idx += equal_atoms_start;
r_idx += equal_atoms_start;