aboutsummaryrefslogtreecommitdiffstats
path: root/trace-graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'trace-graph.c')
-rw-r--r--trace-graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trace-graph.c b/trace-graph.c
index 226c893..d309bc8 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -55,7 +55,7 @@
55#define PLOT_GIVE 2 55#define PLOT_GIVE 2
56#define PLOT_BEGIN 80 56#define PLOT_BEGIN 80
57#define PLOT_SEP 50 57#define PLOT_SEP 50
58#define MAX_TRI_TIME 20000000 58#define MAX_TRI_TIME 10000000
59#define PLOT_LINE(plot) (PLOT_SEP * (plot) + PLOT_BEGIN + PLOT_SIZE) 59#define PLOT_LINE(plot) (PLOT_SEP * (plot) + PLOT_BEGIN + PLOT_SIZE)
60#define PLOT_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE * 2) 60#define PLOT_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE * 2)
61#define PLOT_BOX_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE) 61#define PLOT_BOX_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE)
@@ -1646,7 +1646,7 @@ static gint draw_plot_line(struct graph_info *ginfo, int i,
1646 x = convert_time_to_x(ginfo, time); 1646 x = convert_time_to_x(ginfo, time);
1647 y = PLOT_TOP(i); 1647 y = PLOT_TOP(i);
1648 1648
1649 if (!small || is_high_res(ginfo)) { 1649 if (is_high_res(ginfo)) {
1650 gdk_draw_line(ginfo->curr_pixmap, gc, 1650 gdk_draw_line(ginfo->curr_pixmap, gc,
1651 x, y, x, PLOT_BOTTOM(i)); 1651 x, y, x, PLOT_BOTTOM(i));
1652 } 1652 }