From d8a07bb9f22e054b38d173903ca75dca2f1eca60 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Tue, 4 Jun 2019 10:38:19 +0900 Subject: [PATCH] Add "/" end of the default resource path Change-Id: I9ca382119a4b7c53c3aa06c2a29c74710cbfb840 Signed-off-by: Seungho, Baek --- dali/internal/adaptor/tizen-wayland/framework-tizen.cpp | 6 ++++++ dali/internal/adaptor/ubuntu/framework-ubuntu.cpp | 5 +++++ dali/internal/adaptor/windows/framework-win.cpp | 5 +++++ 3 files changed, 16 insertions(+) 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; } -- 2.7.4