Small code cleanup
This commit is contained in:
parent
620fc28ea6
commit
40fb56c87a
|
@ -63,10 +63,10 @@ ColumnCount DisplayAtom::length() const
|
||||||
switch (m_type)
|
switch (m_type)
|
||||||
{
|
{
|
||||||
case BufferRange:
|
case BufferRange:
|
||||||
return (int)column_length(*m_buffer, m_range.begin, m_range.end);
|
return column_length(*m_buffer, m_range.begin, m_range.end);
|
||||||
case Text:
|
case Text:
|
||||||
case ReplacedBufferRange:
|
case ReplacedBufferRange:
|
||||||
return (int)m_text.column_length();
|
return m_text.column_length();
|
||||||
}
|
}
|
||||||
kak_assert(false);
|
kak_assert(false);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user