UI/updater: Fix incorrect path in portable mode

master
Richard Stanway 2017-06-12 16:39:28 +02:00
parent 26918a2fda
commit da9e247964
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD
1 changed files with 3 additions and 2 deletions

View File

@ -998,9 +998,10 @@ static bool Update(wchar_t *cmdLine)
} }
StringCbCopy(lpAppDataPath, sizeof(lpAppDataPath), pOut); StringCbCopy(lpAppDataPath, sizeof(lpAppDataPath), pOut);
}
StringCbCat(lpAppDataPath, sizeof(lpAppDataPath), StringCbCat(lpAppDataPath, sizeof(lpAppDataPath),
L"\\obs-studio"); L"\\obs-studio");
}
/* ------------------------------------- * /* ------------------------------------- *
* Get download path */ * Get download path */