Blame SOURCES/0001-Resolves-rhbz-1610692-rectangles-ctor-takes-topleft-.patch

91334d
From c80f2f59e9fb08543ec599c6552d610c0e41629b Mon Sep 17 00:00:00 2001
91334d
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
91334d
Date: Wed, 1 Aug 2018 10:10:16 +0100
91334d
Subject: [PATCH] Resolves: rhbz#1610692 rectangles ctor takes topleft,
91334d
 bottomright points
91334d
91334d
so pass arguments in the topleft, bottomright order to avoid eventual...
91334d
91334d
Gtk-CRITICAL **: 09:43:33.896: gtk_widget_queue_draw_area: assertion 'height >= 0' failed
91334d
91334d
Change-Id: I2396f49470274331c49275a5e6d707f59277be4a
91334d
---
91334d
 vcl/source/control/fixed.cxx | 8 ++++----
91334d
 1 file changed, 4 insertions(+), 4 deletions(-)
91334d
91334d
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
91334d
index 2cf897c2fd82..b758f3586a60 100644
91334d
--- a/vcl/source/control/fixed.cxx
91334d
+++ b/vcl/source/control/fixed.cxx
91334d
@@ -531,11 +531,11 @@ void FixedLine::ImplDraw(vcl::RenderContext& rRenderContext)
91334d
         rRenderContext.DrawText(aTextPt, aText, 0, aText.getLength());
91334d
         rRenderContext.Pop();
91334d
         if (aOutSize.Height() - aStartPt.Y() > FIXEDLINE_TEXT_BORDER)
91334d
-            aDecoView.DrawSeparator(Point(aStartPt.X(), aOutSize.Height() - 1),
91334d
-                                    Point(aStartPt.X(), aStartPt.Y() + FIXEDLINE_TEXT_BORDER));
91334d
+            aDecoView.DrawSeparator(Point(aStartPt.X(), aStartPt.Y() + FIXEDLINE_TEXT_BORDER),
91334d
+                                    Point(aStartPt.X(), aOutSize.Height() - 1));
91334d
         if (aStartPt.Y() - nWidth - FIXEDLINE_TEXT_BORDER > 0)
91334d
-            aDecoView.DrawSeparator(Point(aStartPt.X(), aStartPt.Y() - nWidth - FIXEDLINE_TEXT_BORDER),
91334d
-                                    Point(aStartPt.X(), 0));
91334d
+            aDecoView.DrawSeparator(Point(aStartPt.X(), 0),
91334d
+                                    Point(aStartPt.X(), aStartPt.Y() - nWidth - FIXEDLINE_TEXT_BORDER));
91334d
     }
91334d
     else
91334d
     {
91334d
-- 
91334d
2.14.4
91334d