mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
visualizer-view: fix logic on swapping times
This commit is contained in:
@ -95,7 +95,7 @@ sp_visualizer_view_set_time_range (SpVisualizerView *self,
|
|||||||
|
|
||||||
g_assert (SP_IS_VISUALIZER_VIEW (self));
|
g_assert (SP_IS_VISUALIZER_VIEW (self));
|
||||||
|
|
||||||
if (begin_time < end_time)
|
if (end_time < begin_time)
|
||||||
{
|
{
|
||||||
gint64 tmp = begin_time;
|
gint64 tmp = begin_time;
|
||||||
begin_time = end_time;
|
begin_time = end_time;
|
||||||
|
|||||||
Reference in New Issue
Block a user