From: Seungho, Baek Date: Tue, 4 Jun 2019 01:38:19 +0000 (+0900) Subject: Add "/" end of the default resource path X-Git-Tag: dali_1.4.25~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F207362%2F2;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Add "/" end of the default resource path Change-Id: I9ca382119a4b7c53c3aa06c2a29c74710cbfb840 Signed-off-by: Seungho, Baek --- diff --git a/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp b/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp index 09ee3fb..086332f 100644 --- a/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp +++ b/dali/internal/adaptor/tizen-wayland/framework-tizen.cpp @@ -818,6 +818,12 @@ std::string Framework::GetResourcePath() { resourcePath = value; } + + if( resourcePath.back() != '/' ) + { + resourcePath+="/"; + } + #endif //TIZEN_PLATFORM_CONFIG_SUPPORTED return resourcePath; diff --git a/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp b/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp index 6588896..29abb88 100644 --- a/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp +++ b/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp @@ -219,6 +219,11 @@ std::string Framework::GetResourcePath() resourcePath = value; } + if( resourcePath.back() != '/' ) + { + resourcePath+="/"; + } + return resourcePath; } diff --git a/dali/internal/adaptor/windows/framework-win.cpp b/dali/internal/adaptor/windows/framework-win.cpp index 1fe8890..9f1b827 100755 --- a/dali/internal/adaptor/windows/framework-win.cpp +++ b/dali/internal/adaptor/windows/framework-win.cpp @@ -244,6 +244,11 @@ std::string Framework::GetResourcePath() resourcePath = value; } + if( resourcePath.back() != '/' ) + { + resourcePath+="/"; + } + return resourcePath; }