From af5af0c0db7e8c3dc52960b77f675b7e2e8b7746 Mon Sep 17 00:00:00 2001 From: Hyunbin Lee Date: Mon, 1 Jul 2013 16:30:01 +0900 Subject: [PATCH] Modify path convert API Change-Id: I1cc5e1fda2d2ba397330cfac9352d5a3251d0ef3 Signed-off-by: Hyunbin Lee --- src/io/FIo_FileImpl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/io/FIo_FileImpl.cpp b/src/io/FIo_FileImpl.cpp index 014c8bd..85ae768 100644 --- a/src/io/FIo_FileImpl.cpp +++ b/src/io/FIo_FileImpl.cpp @@ -1331,9 +1331,11 @@ _FileImpl::ConvertVirtualToPhysicalPath(const String& virtualPath, String& physi break; case 7: physicalPath = Tizen::System::Environment::GetMediaPath(); + physicalPath.SetLength(physicalPath.GetLength() - 1); break; case 8: - physicalPath = Tizen::System::Environment::GetExternalStoragePath() + L"Media"; + physicalPath = Tizen::System::Environment::GetExternalStoragePath(); + physicalPath.SetLength(physicalPath.GetLength() - 1); break; default: SysLog(NID_IO, "[E_INVALID_ARG] The path (%ls) is not matched.", -- 2.7.4