]> sigrok.org Git - pulseview.git/commitdiff
ViewItemPaintParams: Fixed height()
authorJoel Holdsworth <redacted>
Sun, 28 Dec 2014 18:52:50 +0000 (18:52 +0000)
committerJoel Holdsworth <redacted>
Sun, 28 Dec 2014 18:52:50 +0000 (18:52 +0000)
pv/view/viewitempaintparams.hpp

index a8b519067250976ff0990a510d93a5f2bca6df72..73551e6d7f67b7f85cc4c893bb2f8923d8ce6fa1 100644 (file)
@@ -64,7 +64,7 @@ public:
        }
 
        int height() const {
-               return rect_.width();
+               return rect_.height();
        }
 
        double pixels_offset() const {