From 87d916b2bfa6ebf37a825efd941ffcd3267e0a81 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 4 Oct 2019 13:27:58 +0300 Subject: [PATCH] Fix incorrect font applying after update on Linux --- Telegram/SourceFiles/_other/updater_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/_other/updater_linux.cpp b/Telegram/SourceFiles/_other/updater_linux.cpp index 44135d51a..32fb8039f 100644 --- a/Telegram/SourceFiles/_other/updater_linux.cpp +++ b/Telegram/SourceFiles/_other/updater_linux.cpp @@ -380,7 +380,7 @@ int main(int argc, char *argv[]) { } else if (equal(argv[i], "-semiboldisbold")) { semiboldIsBold = true; } else if (equal(argv[i], "-monospacefont") && ++i < argc) { - mainFont = argv[i]; + monospacedFont = argv[i]; } } if (exeName.empty() || exeName.find('/') != string::npos) {