mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Remove commented code
I left some printer-spesific commented code in there. Away with it. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
This commit is contained in:
parent
b65f8230da
commit
3f624a2eb3
1 changed files with 2 additions and 9 deletions
11
profile.c
11
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;
|
||||
|
|
Loading…
Reference in a new issue