1
0
telegram-desktop/gcc7-fix.patch

14 lines
468 B
Diff
Raw Normal View History

Index: tdesktop-1.5.15/Telegram/SourceFiles/boxes/add_contact_box.cpp
===================================================================
--- tdesktop-1.5.15.orig/Telegram/SourceFiles/boxes/add_contact_box.cpp
+++ tdesktop-1.5.15/Telegram/SourceFiles/boxes/add_contact_box.cpp
@@ -97,7 +97,7 @@ void ShowAddParticipantsError(
channel,
user,
close,
- close);
+ [=] { close(0); });
auto box = Box<EditAdminBox>(
channel,
user,