mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Fix build on Windows.
This commit is contained in:
@@ -571,8 +571,8 @@ void _generateDump(EXCEPTION_POINTERS* pExceptionPointers) {
|
|||||||
}
|
}
|
||||||
if (!hDumpFile || hDumpFile == INVALID_HANDLE_VALUE) {
|
if (!hDumpFile || hDumpFile == INVALID_HANDLE_VALUE) {
|
||||||
WCHAR wstrPath[maxFileLen];
|
WCHAR wstrPath[maxFileLen];
|
||||||
DWORD wstrPathLen;
|
DWORD wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen);
|
||||||
if (wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen)) {
|
if (wstrPathLen) {
|
||||||
wsprintf(wstrPath + wstrPathLen, L"\\%s\\", _programName);
|
wsprintf(wstrPath + wstrPathLen, L"\\%s\\", _programName);
|
||||||
hDumpFile = _generateDumpFileAtPath(wstrPath);
|
hDumpFile = _generateDumpFileAtPath(wstrPath);
|
||||||
}
|
}
|
||||||
|
2
Telegram/ThirdParty/libtgvoip
vendored
2
Telegram/ThirdParty/libtgvoip
vendored
Submodule Telegram/ThirdParty/libtgvoip updated: 25facad342...2d25928604
Submodule Telegram/lib_webrtc updated: f701713cd7...eb94965403
Submodule Telegram/lib_webview updated: 659b918124...363db4e49a
Reference in New Issue
Block a user