X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fgradient.cpp;h=ed5f9b97d3dffd3f4391d882a2f0da18bb5bb60c;hb=26346c36e45040fe9f8187d54d6cdf15d8e3c267;hp=ef38d1914fee0cc6b9226b250c7f4f2b38f0d768;hpb=215f2742c34cedf77a8cd0ffdef8f8b6e95efdfe;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/gradient.cpp b/synfig-core/trunk/src/synfig/gradient.cpp index ef38d19..ed5f9b9 100644 --- a/synfig-core/trunk/src/synfig/gradient.cpp +++ b/synfig-core/trunk/src/synfig/gradient.cpp @@ -197,7 +197,7 @@ synfig::Gradient::operator+=(const Gradient &rhs) if (print) printf("skipping past pos %d in right\n", pos2); } - // if the is only one cpoint at this position in each gradient, + // if there is only one cpoint at this position in each gradient, // there's only one corresponding cpoint in the sum if (iter1 == left_same && iter2 == right_same) { if (print) printf("two singles at left %d and right %d\n", pos1++, pos2++); @@ -211,7 +211,7 @@ synfig::Gradient::operator+=(const Gradient &rhs) if (print) printf(" copy front from left %d right %d\n", tpos1++, tpos2++); ret.push_back(CPoint(left.pos, left.color + right.color)); - // merge the middle pairs points - each middle point merges with its counterpart + // merge the middle pairs of points - each middle point merges with its counterpart while(left_same < iter1-1 && right_same < iter2-1) { old1 = *(left_same++);