From 138e3032cedf0f5d424475ea2f6606fbf332bc8d Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Sat, 11 Oct 2014 10:07:01 +0400 Subject: [PATCH] Fix: initialize boolean field with boolean value, not NULL --- apps/openmw/mwgui/container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/container.cpp b/apps/openmw/mwgui/container.cpp index 7aac65bd3..58f23c175 100644 --- a/apps/openmw/mwgui/container.cpp +++ b/apps/openmw/mwgui/container.cpp @@ -34,7 +34,7 @@ namespace MWGui , mSourceModel(NULL) , mSourceView(NULL) , mSourceSortModel(NULL) - , mIsOnDragAndDrop(NULL) + , mIsOnDragAndDrop(false) { }