[sysprof] visualizers: fix boundary detection
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] visualizers: fix boundary detection
- Date: Mon, 22 Oct 2018 03:42:32 +0000 (UTC)
commit eb54f379ea675371ebb339470d147673d12e2554
Author: Christian Hergert <chergert redhat com>
Date: Sun Oct 21 20:41:36 2018 -0700
visualizers: fix boundary detection
lib/visualizers/sp-line-visualizer-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/visualizers/sp-line-visualizer-row.c b/lib/visualizers/sp-line-visualizer-row.c
index 35829d4..cea7653 100644
--- a/lib/visualizers/sp-line-visualizer-row.c
+++ b/lib/visualizers/sp-line-visualizer-row.c
@@ -645,7 +645,7 @@ sp_line_visualizer_row_load_data_range_cb (const SpCaptureFrame *frame,
load->y_upper = MAX (load->y_upper, y);
if (!load->y_lower_set)
- load->y_lower = MAX (load->y_lower, y);
+ load->y_lower = MIN (load->y_lower, y);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]