From 39bf8d66176ecfa1863e294f447cfedba28722c8 Mon Sep 17 00:00:00 2001 From: Anton Obzhirov Date: Thu, 12 Sep 2019 10:29:31 +0100 Subject: [PATCH] Fix another systemCachePath check Change-Id: Ia8460cab2c9dbee0f9601b3deabe28ec1cf12250 --- dali/internal/adaptor/common/adaptor-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4