From 76d5163e7bb90751578d82c9db1e92e6bc65a49c Mon Sep 17 00:00:00 2001
From: drausch <dominik.rausch@rwth-aachen.de>
Date: Mon, 30 May 2016 13:41:50 +0200
Subject: [PATCH] fixed pointer-is-NULL comparisons

---
 .../VistaKernel/Stuff/VistaFrameSeriesCapture.cpp         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp b/VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
index d60c6aaaf..277908179 100644
--- a/VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
+++ b/VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
@@ -91,7 +91,7 @@ VistaFrameSeriesCapture::~VistaFrameSeriesCapture()
 
 bool VistaFrameSeriesCapture::InitCaptureEveryFrame( const std::string& sLocation, const std::string& sFilenamePattern )
 {
-	if( m_pWindow == false )
+	if( m_pWindow == NULL )
 		return false;
 
 	VistaType::microtime nTime = m_pSystem->GetFrameClock();
@@ -126,7 +126,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryFrame( const std::string& sLocatio
 
 bool VistaFrameSeriesCapture::InitCaptureEveryNthFrame( const std::string& sLocation, const std::string& sFilenamePattern, const int nFrame )
 {
-	if( m_pWindow == false )
+	if( m_pWindow == NULL )
 		return false;
 
 	VistaType::microtime nTime = m_pSystem->GetFrameClock();
@@ -162,7 +162,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryNthFrame( const std::string& sLoca
 
 bool VistaFrameSeriesCapture::InitCapturePeriodically( const std::string& sLocation, const std::string& sFilenamePattern, const VistaType::microtime nPeriod )
 {
-	if( m_pWindow == false )
+	if( m_pWindow == NULL )
 		return false;
 
 	VistaType::microtime nTime = m_pSystem->GetFrameClock();
@@ -198,7 +198,7 @@ bool VistaFrameSeriesCapture::InitCapturePeriodically( const std::string& sLocat
 
 bool VistaFrameSeriesCapture::InitCaptureWithFramerate( const std::string& sLocation, const std::string& sFilenamePattern, const float nFramerate )
 {
-	if( m_pWindow == false )
+	if( m_pWindow == NULL )
 		return false;
 
 	VistaType::microtime nTime = m_pSystem->GetFrameClock();
-- 
GitLab