mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1244774: Correct wchar_t/char16_t VS2015 compilation problem caused by patches for bug 1173371. r=jimm
This commit is contained in:
parent
70d3810dd0
commit
8d65b61e48
@ -637,12 +637,12 @@ AddContentSandboxAllowedFiles(int32_t aSandboxLevel,
|
||||
|
||||
// Convert network share path to format for sandbox policy.
|
||||
if (Substring(binDirPath, 0, 2).Equals(L"\\\\")) {
|
||||
binDirPath.InsertLiteral(L"??\\UNC", 1);
|
||||
binDirPath.InsertLiteral(MOZ_UTF16("??\\UNC"), 1);
|
||||
}
|
||||
|
||||
binDirPath.AppendLiteral(L"\\*");
|
||||
binDirPath.AppendLiteral(MOZ_UTF16("\\*"));
|
||||
|
||||
aAllowedFilesRead.push_back(binDirPath.get());
|
||||
aAllowedFilesRead.push_back(std::wstring(binDirPath.get()));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user