nomenclature of space corection

This commit is contained in:
Edouard Dupin 2012-05-13 21:27:50 +02:00
parent e5a06889b6
commit d19586c4d8

View File

@ -695,13 +695,13 @@ void BufferText::SetInsertPosition(int32_t newPos, bool insertChar)
return;
}
if( false == haveSelectionActive
&& true == ewol::IsSetShift() )
if( false == haveSelectionActive
&& true == ewol::IsSetShift() )
{
// new selection
m_EdnBuf.Select(SELECTION_PRIMARY, rememberCursorPos, m_cursorPos);
} else if( true == ewol::IsSetShift()
&& true == haveSelectionActive)
} else if( true == ewol::IsSetShift()
&& true == haveSelectionActive)
{
// update selection
if (rememberCursorPos == SelectionStart) {