diff --git a/Telegram/SourceFiles/ui/widgets/input_fields.cpp b/Telegram/SourceFiles/ui/widgets/input_fields.cpp index f669ab9f58..dc590c4db6 100644 --- a/Telegram/SourceFiles/ui/widgets/input_fields.cpp +++ b/Telegram/SourceFiles/ui/widgets/input_fields.cpp @@ -190,7 +190,7 @@ public: _checked[edgeIndex] = true; return; } else { - _checked = { false, false }; + _checked = { { false, false } }; } } while (true) { @@ -207,9 +207,9 @@ public: } } if (_position == kInvalidPosition) { - _checked = { true, true }; + _checked = { { true, true } }; } else { - _checked = { false, false }; + _checked = { { false, false } }; _checked[edgeIndex] = true; } } @@ -217,7 +217,7 @@ public: private: int _offset = 0; int _position = -1; - std::array _checked = { false, false }; + std::array _checked = { { false, false } }; };