X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fviewitempaintparams.hpp;h=86742ba7ceb811ec1e3642f7ee15e1776ac1e36e;hp=a8b519067250976ff0990a510d93a5f2bca6df72;hb=7a01bd3654ed046216308fa64edfd79be7cd525f;hpb=36e7001de1e6620deeb93fa77c2ec6c4ebc4b3ea diff --git a/pv/view/viewitempaintparams.hpp b/pv/view/viewitempaintparams.hpp index a8b5190..86742ba 100644 --- a/pv/view/viewitempaintparams.hpp +++ b/pv/view/viewitempaintparams.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H -#define PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H +#ifndef PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_HPP +#define PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_HPP #include @@ -64,7 +64,7 @@ public: } int height() const { - return rect_.width(); + return rect_.height(); } double pixels_offset() const { @@ -85,4 +85,4 @@ private: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_H +#endif // PULSEVIEW_PV_VIEW_ROWITEMPAINTPARAMS_HPP