From: Anton Obzhirov Date: Thu, 12 Sep 2019 09:29:31 +0000 (+0100) Subject: Fix another systemCachePath check X-Git-Tag: dali_1.4.38~5 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=39bf8d66176ecfa1863e294f447cfedba28722c8;hp=ae5ebea9bccaf7db4da5b0fd76b628dcf9f1fb46 Fix another systemCachePath check Change-Id: Ia8460cab2c9dbee0f9601b3deabe28ec1cf12250 --- diff --git a/dali/internal/adaptor/common/adaptor-impl.cpp b/dali/internal/adaptor/common/adaptor-impl.cpp index 3416ed8..2c297e0 100755 --- a/dali/internal/adaptor/common/adaptor-impl.cpp +++ b/dali/internal/adaptor/common/adaptor-impl.cpp @@ -397,7 +397,7 @@ void Adaptor::Start() Dali::TizenPlatform::ImageLoader::SetMaxTextureSize( mGLES.GetMaxTextureSize() ); std::string systemCachePath = GetSystemCachePath(); - if( systemCachePath.c_str() != NULL ) + if( ! systemCachePath.empty() ) { const int dir_err = system( std::string( "mkdir " + systemCachePath ).c_str() ); if (-1 == dir_err)