Commit 8e4d5e12 authored by Raph Levien's avatar Raph Levien

Make warnings go to stderr, not stdout.

parent be5acf59
2000-04-04 Raph Levien <raph@lizardbreath.artofcode.com>
2000-04-05 Raph Levien <raph@gimp.org>
* art_svp_wind.c: Make "colinear" warnings go to stderr instead
of stdout. Of course, when I finish the new intersector, these
will go away entirely.
2000-04-04 Raph Levien <raph@gimp.org>
* art_uta_vpath.c (art_uta_add_line): Fixed bug that was causing
segfaults on alphas. Thanks to msw for localizing it.
......
......@@ -262,7 +262,7 @@ x_order (ArtPoint z0, ArtPoint z1, ArtPoint z2, ArtPoint z3)
if (d3 > 0) return -1;
else if (d3 < 0) return 1;
else
printf ("colinear!\n");
fprintf (stderr, "colinear!\n");
}
else /* d2 < 0 */
{
......@@ -290,7 +290,7 @@ x_order (ArtPoint z0, ArtPoint z1, ArtPoint z2, ArtPoint z3)
if (d1 > 0) return 1;
else if (d1 < 0) return -1;
else
printf ("colinear!\n");
fprintf (stderr, "colinear!\n");
}
else /* d0 < 0 */
{
......@@ -337,7 +337,7 @@ x_order_2 (ArtPoint z0, ArtPoint z1, ArtPoint z2, ArtPoint z3)
if (z0.x >= z2.x && z1.x >= z2.x && z0.x >= z3.x && z1.x >= z3.x)
return 1;
printf ("x_order_2: colinear!\n");
fprintf (stderr, "x_order_2: colinear!\n");
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment