Fix another systemCachePath check 19/213819/1
authorAnton Obzhirov <a.obzhirov@samsung.com>
Thu, 12 Sep 2019 09:29:31 +0000 (10:29 +0100)
committerAnton Obzhirov <a.obzhirov@samsung.com>
Thu, 12 Sep 2019 09:29:31 +0000 (10:29 +0100)
Change-Id: Ia8460cab2c9dbee0f9601b3deabe28ec1cf12250

dali/internal/adaptor/common/adaptor-impl.cpp

index 3416ed8..2c297e0 100755 (executable)
@@ -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)