From e0d14cf8d3c809a0a5291823d3a962a4835a8f6e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 00:25:50 +0300 Subject: Add some missing checks to gui found by paranucker. --- src/gui/widgets/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index ae1e922c9..07ff9bf94 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -688,7 +688,7 @@ class Window notfinal : public BasicContainer2, * where two borders are moved at the same time. */ static const unsigned resizeBorderWidth = 10; - ImageCollection *mVertexes; + ImageCollection *mVertexes A_NONNULLPOINTER; int mCaptionOffsetX; int mCaptionOffsetY; Graphics::Alignment mCaptionAlign; @@ -699,7 +699,7 @@ class Window notfinal : public BasicContainer2, int mClosePadding; int mStickySpacing; int mStickyPadding; - Font *mCaptionFont; + Font *mCaptionFont A_NONNULLPOINTER; Modal mModal; /**< Window is modal */ bool mShowTitle; /**< Window has a title bar */ bool mCloseWindowButton; /**< Window has a close button */ -- cgit v1.2.3-70-g09d2