X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31d44d0fd5480861c25367cde5d75ad18da7b0e6..dd33b115d6fed7df33b76597cf52b0db7d88bdeb:/contrib/src/ogl/oglmisc.cpp diff --git a/contrib/src/ogl/oglmisc.cpp b/contrib/src/ogl/oglmisc.cpp index 0b0d9b83a2..b0fdf825f7 100644 --- a/contrib/src/ogl/oglmisc.cpp +++ b/contrib/src/ogl/oglmisc.cpp @@ -360,7 +360,6 @@ void oglGetCentredTextExtent(wxDC& dc, wxList *text_list, long current_width = 0; wxNode *current = text_list->GetFirst(); - int i = 0; while (current) { wxShapeTextLine *line = (wxShapeTextLine *)current->GetData(); @@ -369,7 +368,6 @@ void oglGetCentredTextExtent(wxDC& dc, wxList *text_list, if (current_width > max_width) max_width = current_width; current = current->GetNext(); - i ++; } *actual_height = n*char_height;