Re: pgAdmin3 and gtk2.0/Unicode: done - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject Re: pgAdmin3 and gtk2.0/Unicode: done
Date
Msg-id 200306090802.17334.jm.poure@freesurf.fr
Whole thread Raw
In response to pgAdmin3 and gtk2.0/Unicode: done  (Andreas Pflug <Andreas.Pflug@web.de>)
List pgadmin-hackers
Le Vendredi 06 Juin 2003 00:13, Andreas Pflug a écrit :
> RCS file: /pack/cvsroots/wxwindows/wxWindows/src/common/string.cpp,v
> retrieving revision 1.172
> diff -r1.172 string.cpp
> 269a270
>
> >           m_pchData[nLen] = 0;

Hi Andreas,

Could you submit a patch in diff -u format? I don't have enough context to
apply it. What CVS version are you using?

Cheers,
Jean-Michel

****************************************************************************************
int wxString::Find(wxChar ch, bool bFromEnd) const
{
  const wxChar *psz = bFromEnd ? wxStrrchr(m_pchData, ch) :
wxStrchr(m_pchData, ch);

  return (psz == NULL) ? wxNOT_FOUND : psz - (const wxChar*) m_pchData;
}

// find a sub-string (like strstr)
int wxString::Find(const wxChar *pszSub) const
{
  const wxChar *psz = wxStrstr(m_pchData, pszSub);

  return (psz == NULL) ? wxNOT_FOUND : psz - (const wxChar*) m_pchData;
}


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Error Emails
Next
From: "Dave Page"
Date:
Subject: Re: Linking error (same old story)