Add "/" end of the default resource path 62/207362/2
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 4 Jun 2019 01:38:19 +0000 (10:38 +0900)
committerSeungho BAEK <sbsh.baek@samsung.com>
Mon, 10 Jun 2019 10:03:25 +0000 (10:03 +0000)
Change-Id: I9ca382119a4b7c53c3aa06c2a29c74710cbfb840
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali/internal/adaptor/tizen-wayland/framework-tizen.cpp
dali/internal/adaptor/ubuntu/framework-ubuntu.cpp
dali/internal/adaptor/windows/framework-win.cpp

index 09ee3fb..086332f 100644 (file)
@@ -818,6 +818,12 @@ std::string Framework::GetResourcePath()
   {
     resourcePath = value;
   }
+
+  if( resourcePath.back() != '/' )
+  {
+    resourcePath+="/";
+  }
+
 #endif //TIZEN_PLATFORM_CONFIG_SUPPORTED
 
   return resourcePath;
index 6588896..29abb88 100644 (file)
@@ -219,6 +219,11 @@ std::string Framework::GetResourcePath()
     resourcePath = value;
   }
 
+  if( resourcePath.back() != '/' )
+  {
+    resourcePath+="/";
+  }
+
   return resourcePath;
 }
 
index 1fe8890..9f1b827 100755 (executable)
@@ -244,6 +244,11 @@ std::string Framework::GetResourcePath()
     resourcePath = value;\r
   }\r
 \r
+  if( resourcePath.back() != '/' )\r
+  {\r
+    resourcePath+="/";\r
+  }\r
+\r
   return resourcePath;\r
 }\r
 \r