[sysprof/wip/visualizers] visualizer-view: fix logic on swapping times
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] visualizer-view: fix logic on swapping times
- Date: Mon, 3 Oct 2016 23:09:53 +0000 (UTC)
commit 59cbd8fc3f17bd12106126cc63fa0b99c016bc83
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 3 16:06:00 2016 -0700
visualizer-view: fix logic on swapping times
lib/sp-visualizer-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-visualizer-view.c b/lib/sp-visualizer-view.c
index 4be1efe..96763b2 100644
--- a/lib/sp-visualizer-view.c
+++ b/lib/sp-visualizer-view.c
@@ -95,7 +95,7 @@ sp_visualizer_view_set_time_range (SpVisualizerView *self,
g_assert (SP_IS_VISUALIZER_VIEW (self));
- if (begin_time < end_time)
+ if (end_time < begin_time)
{
gint64 tmp = begin_time;
begin_time = end_time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]