From 522945bbe3f3652fcf400da2bdaecc4207c9f5a7 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 20 Apr 2016 16:09:35 +0300 Subject: [PATCH] Fixed build for OS X. 0.9.44 version. --- Telegram/SourceFiles/ui/style.h | 4 ++-- Telegram/SourceFiles/ui/text/text.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/ui/style.h b/Telegram/SourceFiles/ui/style.h index b3108ab22b..711e8380e2 100644 --- a/Telegram/SourceFiles/ui/style.h +++ b/Telegram/SourceFiles/ui/style.h @@ -21,5 +21,5 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org #pragma once #include "ui/style_core.h" -#include "GeneratedFiles/style_classes.h" -#include "GeneratedFiles/style_auto.h" +#include "style_classes.h" +#include "style_auto.h" diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp index 3df18ee76f..3d0c46d378 100644 --- a/Telegram/SourceFiles/ui/text/text.cpp +++ b/Telegram/SourceFiles/ui/text/text.cpp @@ -1591,7 +1591,7 @@ public: if (_wLeft < si.width) { lineText = lineText.mid(0, currentBlock->from() - _localFrom) + _Elide; lineLength = currentBlock->from() + _Elide.size() - _lineStart; - _selection.to = _selection.to = qMin(_selection.to, currentBlock->from()); + _selection.to = qMin(_selection.to, currentBlock->from()); setElideBidi(currentBlock->from(), _Elide.size()); elideSaveBlock(blockIndex - 1, _endBlock, currentBlock->from(), elideWidth); return;