Fixed build for OS X. 0.9.44 version.

This commit is contained in:
John Preston 2016-04-20 16:09:35 +03:00
parent 7d272919aa
commit 522945bbe3
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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;