An approximate calculation of the effect of opacity in the solar spectral lines of C III