Fix warning
This commit is contained in:
@@ -462,7 +462,8 @@ void cTextField::handleInput(cKey key, bool record) {
|
|||||||
selectionPoint = ++insertionPoint;
|
selectionPoint = ++insertionPoint;
|
||||||
}
|
}
|
||||||
} else switch(key.k) {
|
} else switch(key.k) {
|
||||||
case key_enter: break; // Shouldn't be receiving this anyway
|
case key_none: case key_enter:
|
||||||
|
break; // Shouldn't be receiving this anyway
|
||||||
case key_left: case key_word_left:
|
case key_left: case key_word_left:
|
||||||
if(current_action) history.add(current_action), current_action.reset();
|
if(current_action) history.add(current_action), current_action.reset();
|
||||||
if(haveSelection && !select) {
|
if(haveSelection && !select) {
|
||||||
|
Reference in New Issue
Block a user