]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Remove commented code
authorHenrik Brautaset Aronsen <subsurface@henrik.synth.no>
Thu, 1 Dec 2011 11:28:38 +0000 (12:28 +0100)
committerHenrik Brautaset Aronsen <subsurface@henrik.synth.no>
Thu, 1 Dec 2011 11:28:38 +0000 (12:28 +0100)
I left some printer-spesific commented code in there.  Away with it.

Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
profile.c

index c7d945f14060d5f1e48052c89c01b1fe27ba1154..cb0bc2d5da0a9e993e036112e11020ad7ce27030 100644 (file)
--- a/profile.c
+++ b/profile.c
@@ -528,15 +528,8 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi
        for (i = 0; i < pi->nr; i++, entry++)
                line_to(gc, entry->sec, entry->depth);
        cairo_close_path(gc->cr);
-/*
-       if (gc->printer) {
-               set_source_rgba(gc, DEPTH_FILL_PRINTER);
-               cairo_fill_preserve(cr);
-               set_source_rgba(gc, DEPTH_STROKE_PRINTER);
-               cairo_stroke(cr);
-               return;
-       }
-*/     cairo_fill(gc->cr);
+
+       cairo_fill(gc->cr);
 
        /* Now do it again for the velocity colors */
        entry = pi->entry;