summaryrefslogtreecommitdiff
path: root/src/Installer
diff options
context:
space:
mode:
Diffstat (limited to 'src/Installer')
-rwxr-xr-xsrc/Installer/DirectoryInstaller.cpp2
-rwxr-xr-xsrc/Installer/PreloadedInstaller.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Installer/DirectoryInstaller.cpp b/src/Installer/DirectoryInstaller.cpp
index 4f89859..b0df3ff 100755
--- a/src/Installer/DirectoryInstaller.cpp
+++ b/src/Installer/DirectoryInstaller.cpp
@@ -173,7 +173,7 @@ DirectoryInstaller::RemoveInfoFiles(void)
// check *.info file
if (_FileImpl::GetFileExtension(entryDir) == FILE_EXT_INFO)
{
- AppLog("Request to delete info file = [%ls]\n", entryDir.GetPointer());
+ AppLog("Request to delete info file = [%ls]", entryDir.GetPointer());
InstallerUtil::Remove(entryDir);
}
}
diff --git a/src/Installer/PreloadedInstaller.cpp b/src/Installer/PreloadedInstaller.cpp
index ef031b6..2b85ab0 100755
--- a/src/Installer/PreloadedInstaller.cpp
+++ b/src/Installer/PreloadedInstaller.cpp
@@ -53,7 +53,7 @@ PreloadedInstaller::OnInit(void)
String prefix(PATH_USR_APPS);
prefix += L"/";
- path.SubString(prefix.GetLength(), APPID_LENGTH, appId);
+ path.SubString(prefix.GetLength(), PACKAGE_ID_LENGTH, appId);
String destRootPath(PATH_OPT_USR_APPS);
destRootPath += L"/";