Home » U++ Library support » U++ Core » Bug: AString<B>::ReverseFind broken for wchar
Bug: AString<B>::ReverseFind broken for wchar [message #42257] |
Sun, 02 March 2014 17:49  |
hans
Messages: 44 Registered: March 2006 Location: Germany
|
Member |
|
|
Small bug in SVN rev6982:
in function
int AString<B>::ReverseFind(int len, const tchar *s, int from) const
change line
if(*s == *p && memcmp(s, p, len) == 0)
to
if(*s == *p && memcmp(s, p, len*sizeof(tchar)) == 0)
Thanks,
Hans
|
|
|
Goto Forum:
Current Time: Tue Apr 29 21:10:23 CEST 2025
Total time taken to generate the page: 0.00924 seconds
|