Selection: fix canonicalize
This commit is contained in:
parent
948443a077
commit
3012f69c4d
|
@ -28,7 +28,7 @@ struct Selection
|
|||
void canonicalize()
|
||||
{
|
||||
if (m_end < m_begin)
|
||||
std::swap(m_begin, m_end);
|
||||
std::swap(++m_begin, ++m_end);
|
||||
}
|
||||
|
||||
void offset(int offset)
|
||||
|
|
Loading…
Reference in New Issue
Block a user