UI/updater: Fix incorrect path in portable mode

This commit is contained in:
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

View File

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