diff --git a/Telegram/BuildWin.bat b/Telegram/BuildWin.bat index ad5865dc37..6ad6824113 100644 --- a/Telegram/BuildWin.bat +++ b/Telegram/BuildWin.bat @@ -1,6 +1,5 @@ @echo OFF - -FOR /F "tokens=1,2* delims= " %i in (Version) do set "%i=%j" +FOR /F "tokens=1,2* delims= " %%i in (Version) do set "%%i=%%j" if %DevChannel% neq 0 goto preparedev diff --git a/Telegram/SourceFiles/boxes/contactsbox.cpp b/Telegram/SourceFiles/boxes/contactsbox.cpp index 60b29ee60f..64ebb79b85 100644 --- a/Telegram/SourceFiles/boxes/contactsbox.cpp +++ b/Telegram/SourceFiles/boxes/contactsbox.cpp @@ -2636,7 +2636,7 @@ void SetupChannelBox::onPrivacyChange() { if (_public.checked()) { if (_tooMuchUsernames) { _private.setChecked(true); - App::wnd()->replaceLayer(new ConfirmBox(lang(lng_channels_too_much_public))); + App::wnd()->replaceLayer(new ConfirmBox(lang(lng_channels_too_much_public), true)); return; } _link.show(); @@ -2698,7 +2698,7 @@ bool SetupChannelBox::onCheckFail(const RPCError &error) { if (err == "CHANNELS_ADMIN_PUBLIC_TOO_MUCH") { if (_existing) { App::wnd()->hideLayer(true); - App::wnd()->showLayer(new ConfirmBox(lang(lng_channels_too_much_public_existing)), true); + App::wnd()->showLayer(new ConfirmBox(lang(lng_channels_too_much_public_existing), true), true); } else { _tooMuchUsernames = true; _private.setChecked(true); @@ -2727,7 +2727,7 @@ bool SetupChannelBox::onFirstCheckFail(const RPCError &error) { if (err == "CHANNELS_ADMIN_PUBLIC_TOO_MUCH") { if (_existing) { App::wnd()->hideLayer(true); - App::wnd()->showLayer(new ConfirmBox(lang(lng_channels_too_much_public_existing)), true); + App::wnd()->showLayer(new ConfirmBox(lang(lng_channels_too_much_public_existing), true), true); } else { _tooMuchUsernames = true; _private.setChecked(true);