diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 00dc5b991c..a8c9ef126a 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -782,8 +782,8 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) wxLogMessage(_T("Selection: from %ld to %ld."), from, to); wxLogMessage(_T("Selection = '%s' (len = %u)"), - sel.c_str(), - (unsigned int) sel.length()); + sel.c_str(), + (unsigned int) sel.length()); } break;