From df277b366b13d41e180168529a5385dfde1a02a4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 6 Jul 2024 13:30:58 +0400 Subject: [PATCH] Fix build on Windows. --- Telegram/SourceFiles/_other/updater_win.cpp | 4 ++-- Telegram/ThirdParty/libtgvoip | 2 +- Telegram/lib_webrtc | 2 +- Telegram/lib_webview | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Telegram/SourceFiles/_other/updater_win.cpp b/Telegram/SourceFiles/_other/updater_win.cpp index 0b9b247853..e779c8f20f 100644 --- a/Telegram/SourceFiles/_other/updater_win.cpp +++ b/Telegram/SourceFiles/_other/updater_win.cpp @@ -571,8 +571,8 @@ void _generateDump(EXCEPTION_POINTERS* pExceptionPointers) { } if (!hDumpFile || hDumpFile == INVALID_HANDLE_VALUE) { WCHAR wstrPath[maxFileLen]; - DWORD wstrPathLen; - if (wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen)) { + DWORD wstrPathLen = GetEnvironmentVariable(L"APPDATA", wstrPath, maxFileLen); + if (wstrPathLen) { wsprintf(wstrPath + wstrPathLen, L"\\%s\\", _programName); hDumpFile = _generateDumpFileAtPath(wstrPath); } diff --git a/Telegram/ThirdParty/libtgvoip b/Telegram/ThirdParty/libtgvoip index 25facad342..2d25928604 160000 --- a/Telegram/ThirdParty/libtgvoip +++ b/Telegram/ThirdParty/libtgvoip @@ -1 +1 @@ -Subproject commit 25facad342c3280315f9ef553906f46c3eeba1e4 +Subproject commit 2d2592860478e60d972b96e67ee034b8a71bb57a diff --git a/Telegram/lib_webrtc b/Telegram/lib_webrtc index f701713cd7..eb94965403 160000 --- a/Telegram/lib_webrtc +++ b/Telegram/lib_webrtc @@ -1 +1 @@ -Subproject commit f701713cd798bd7d5f69d318fdefb125d101aa76 +Subproject commit eb9496540356945e2c9fb700bcfa51444fd36f41 diff --git a/Telegram/lib_webview b/Telegram/lib_webview index 659b918124..363db4e49a 160000 --- a/Telegram/lib_webview +++ b/Telegram/lib_webview @@ -1 +1 @@ -Subproject commit 659b9181240aae16c05ef8ab7e6c4dd527afcf8a +Subproject commit 363db4e49a0b78e5dd08bd922e09cf8810318c09