]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/oglmisc.cpp
Applied patch [ 868061 ] Warning free OGL
[wxWidgets.git] / contrib / src / ogl / oglmisc.cpp
index b0fdf825f7b51b165f469c37223157fff8f7f0cb..0b773e393ed07646a948aacc8c911f1c26b1b0f6 100644 (file)
@@ -411,6 +411,7 @@ wxStringList *oglFormatText(wxDC& dc, const wxString& text, double width, double
       case 13:
       {
         new_line = TRUE; end_word = TRUE; i++;
       case 13:
       {
         new_line = TRUE; end_word = TRUE; i++;
+        break;
       }
       case wxT(' '):
       {
       }
       case wxT(' '):
       {