git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36751
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxChar *pc;
size_t nLineCount = textfile.GetLineCount();
const wxChar *pc;
size_t nLineCount = textfile.GetLineCount();
- for ( size_t nLine = 0;; nLine++ )
+ for ( size_t nLine = 0; /* nothing */; nLine++ )
{
if ( nLine < nLineCount )
{
{
if ( nLine < nLineCount )
{
- wxString gnomedir = wxGetenv( wxT("GNOMEDIR") );;
+ wxString gnomedir = wxGetenv( wxT("GNOMEDIR") );
if (!gnomedir.empty())
{
gnomedir << wxT("/share");
if (!gnomedir.empty())
{
gnomedir << wxT("/share");
wxString strExtensions = m_manager->GetExtension(m_index[0]);
extensions.Empty();
wxString strExtensions = m_manager->GetExtension(m_index[0]);
extensions.Empty();
- // one extension in the space or comma delimitid list
+ // one extension in the space or comma-delimited list
- for ( const wxChar *p = strExtensions;; p++ ) {
+ for ( const wxChar *p = strExtensions; /* nothing */; p++ ) {
if ( *p == wxT(' ') || *p == wxT(',') || *p == wxT('\0') ) {
if ( !strExt.empty() ) {
extensions.Add(strExt);
if ( *p == wxT(' ') || *p == wxT(',') || *p == wxT('\0') ) {
if ( !strExt.empty() ) {
extensions.Add(strExt);
{
Display* display = (Display*) wxGetDisplay();
glXMakeCurrent(display, (Window) wxGetClientAreaWindow(m_window),
{
Display* display = (Display*) wxGetDisplay();
glXMakeCurrent(display, (Window) wxGetClientAreaWindow(m_window),
- M_PENDATA->m_stipple = *stipple;;
+ M_PENDATA->m_stipple = *stipple;
}
void wxPen::SetStyle( int style )
}
void wxPen::SetStyle( int style )