From b9274d108ecc8dcca4c31af97e3a37e528ea200c Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sat, 8 Feb 2020 00:54:20 +0300 Subject: [PATCH] Fixed font metrics option initialization --- Telegram/SourceFiles/boxes/fonts_box.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/fonts_box.h b/Telegram/SourceFiles/boxes/fonts_box.h index 35120f3b4..c518c27e4 100644 --- a/Telegram/SourceFiles/boxes/fonts_box.h +++ b/Telegram/SourceFiles/boxes/fonts_box.h @@ -29,11 +29,11 @@ private: void resetToDefault(); object_ptr _useSystemFont = { nullptr }; + object_ptr _useOriginalMetrics = { nullptr }; object_ptr _mainFontName = { nullptr }; object_ptr _semiboldFontName = { nullptr }; object_ptr _semiboldIsBold = { nullptr }; object_ptr _monospacedFontName = { nullptr }; - object_ptr _useOriginalMetrics = { nullptr }; Ui::Text::String _about; int _aboutHeight = 0;