Dave Page wrote:

It's rumoured that Andreas Pflug once said:



We need our own version at the moment, which may be based on 2003-06-07
or 2003-06-18, and has the additional wxString patch to support that's
still open.



Shal we go with the later one then if we know it's good, and stick a
patched tarball on Snake?
Regards, Dave


Yes, and apply the patch appended to this mail.

Regards,
Andreas


Index: string.cpp
===================================================================
RCS file: /pack/cvsroots/wxwindows/wxWindows/src/common/string.cpp,v
retrieving revision 1.174
diff -c -r1.174 string.cpp
*** string.cpp  2003/06/15 19:33:04     1.174
--- string.cpp  2003/06/28 08:28:27
***************
*** 264,272 ****
          }
  
          // MB2WC wants the buffer size, not the string length
!         if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 )
          {
              // initialized ok
              m_pchData[nLen] = 0;
              return;
          }
--- 264,275 ----
          }
  
          // MB2WC wants the buffer size, not the string length
!         nLen = conv.MB2WC(m_pchData, psz, nLen);
! 
!         if (nLen != (size_t)-1 )
          {
              // initialized ok
+             GetStringData()->nDataLength = nLen;
              m_pchData[nLen] = 0;
              return;
          }
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to