const TCHAR ExecutableFilenameU[] = _T("WinMergeU.exe");
/** @brief Temp folder name prefix for WinMerge temp folders. */
-const TCHAR TempFolderPrefix[] = _T("WM_");
+const TCHAR TempFolderPrefix[] = _T("WinMerge_TEMP_");
/**
* @brief Flags used when opening files
if (strTempPath.empty())
return strTempPath;
- strTempPath = paths_ConcatPath(strTempPath, env_GetPerInstanceString(_T("WM_")));
-
paths_CreateIfNeeded(strTempPath);
}
return strTempPath;
OptionsInit(); // Implementation in OptionsInit.cpp
// Initialize temp folder
- String instTemp = env_GetPerInstanceString(_T("WM_"));
+ String instTemp = env_GetPerInstanceString(TempFolderPrefix);
if (GetOptionsMgr()->GetBool(OPT_USE_SYSTEM_TEMP_PATH))
env_SetTempPath(paths_ConcatPath(env_GetSystemTempPath(), instTemp));
else