If the main source is not equidistant from both the slits, there will be a phase difference between the light reaching at the two slits. So, we need to incorporate this extra path difference while calculating where we will get bright or dark fringes.