removed C++ comments (#9444).

2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/paint_funcs.c: removed C++ comments (#9444).
This commit is contained in:
Michael Natterer 2000-04-26 00:20:52 +00:00 committed by Michael Natterer
parent e1f357f742
commit ba7c2c8a3d
3 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,11 @@
2000-04-26 Michael Natterer <mitch@gimp.org>
* app/paint_funcs.c: removed C++ comments (#9444).
2000-04-26 Michael Natterer <mitch@gimp.org>
* app/free_select.c: fill empty "default" with a "break" (#9431).
* libgimp/gimpenv.c: g_path_is_absolute wants a parameter (#9400)
* libgimp/gimpenv.c: g_path_is_absolute wants a parameter (#9400).
2000-04-25 Nick Lamb <njl195@zepler.org.uk>

View File

@ -4127,7 +4127,7 @@ scale_region (PixelRegion *srcPR,
}
else if (height > orig_height)
{
// new_y = floor((y - 0.5) * y_rat);
/* new_y = floor((y - 0.5) * y_rat); */
new_y = floor((y) * y_rat - .5);
while (old_y <= new_y)
@ -4142,7 +4142,7 @@ scale_region (PixelRegion *srcPR,
case CUBIC_INTERPOLATION:
{
double p0, p1, p2, p3;
// double dy = ((y - 0.5) * y_rat) - new_y;
/* double dy = ((y - 0.5) * y_rat) - new_y; */
double dy = ((y) * y_rat - .5) - new_y;
p0 = cubic(dy, 1, 0, 0, 0);
p1 = cubic(dy, 0, 1, 0, 0);

View File

@ -4127,7 +4127,7 @@ scale_region (PixelRegion *srcPR,
}
else if (height > orig_height)
{
// new_y = floor((y - 0.5) * y_rat);
/* new_y = floor((y - 0.5) * y_rat); */
new_y = floor((y) * y_rat - .5);
while (old_y <= new_y)
@ -4142,7 +4142,7 @@ scale_region (PixelRegion *srcPR,
case CUBIC_INTERPOLATION:
{
double p0, p1, p2, p3;
// double dy = ((y - 0.5) * y_rat) - new_y;
/* double dy = ((y - 0.5) * y_rat) - new_y; */
double dy = ((y) * y_rat - .5) - new_y;
p0 = cubic(dy, 1, 0, 0, 0);
p1 = cubic(dy, 0, 1, 0, 0);