fix escape backslashes

This commit is contained in:
Shelley Vohr 2017-08-09 16:40:19 -07:00 committed by Shelley Vohr
parent c1c8f7b0f1
commit d2d4b4cc23
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -97,8 +97,8 @@ void OverrideLinuxAppDataPath() {
void OverrideWinAppLogsPath() {
std::string appName = GetApplicationName();
std::string logPath = "%HOMEDRIVE%%HOMEPATH%\AppData\Roaming\\";
std::string appLogPath = logPath + appName + "\logs";
std::string logPath = "%HOMEDRIVE%%HOMEPATH%\\AppData\\Roaming\\";
std::string appLogPath = logPath + appName + "\\logs";
int status = mkdir(appLogPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
@ -113,6 +113,7 @@ void OverrideLinuxAppLogsPath() {
int status = mkdir(appLogPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
PathService::Override(DIR_APP_LOGS, base::FilePath(appLogPath));
return;
}
int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {