Fixed build for OS X. 0.9.44 version.
This commit is contained in:
parent
7d272919aa
commit
522945bbe3
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue