X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/043c0d5843099d873017d87cb3c23520cc65cc31..c40fd721e4fb645c97368d0492ddb1a7a8922c53:/src/richtext/richtextctrl.cpp diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index d55b6a9bcc..ff48ec1d7d 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -697,7 +697,7 @@ void wxRichTextCtrl::OnChar(wxKeyEvent& event) wxString text; text = wxRichTextLineBreakChar; GetBuffer().InsertTextWithUndo(newPos+1, text, this); - m_caretAtLineStart = true; + m_caretAtLineStart = true; PositionCaret(); } else