Changeset 142 for Include/Classes/System/String.ab
- Timestamp:
- Mar 9, 2007, 10:15:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/String.ab
r139 r142 10 10 #else 11 11 TypeDef StrChar = WCHAR 12 #ifndef UNICODE 13 #define __STRING_UNICODE_WINDOWS_ANSI 14 #endif 12 15 #endif 13 16 … … 494 497 Dim i As Long 495 498 For i = 0 To ELM(.m_Length) 496 If .Chars[i] = .oldChar Then497 .Chars[i] = .newChar499 If .Chars[i] = oldChar Then 500 .Chars[i] = newChar 498 501 End If 499 502 Next … … 558 561 559 562 Static Function Copy(s As String) As String 560 Copy.Re size(s.m_Length)563 Copy.ReSize(s.m_Length) 561 564 memcpy(Copy.Chars, This.Chars, SizeOf (StrChar) * m_Length) 562 565 End Function
Note:
See TracChangeset
for help on using the changeset viewer.