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,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 */