diff --git a/src/Text3.cpp b/src/Text3.cpp index 75ff5a018d..3da55c9caa 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -385,8 +385,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) && cur.boundary() == oldBoundary) { cur.undispatched(); cmd = FuncRequest(LFUN_FINISHED_RIGHT); - } else - cur.setCurrentFont(); + } break; case LFUN_CHAR_BACKWARD: @@ -402,8 +401,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) && cur.boundary() == oldBoundary) { cur.undispatched(); cmd = FuncRequest(LFUN_FINISHED_LEFT); - } else - cur.setCurrentFont(); + } break; case LFUN_UP_SELECT: