version 1.86, 2003/11/15 02:49:54
|
version 1.88, 2004/02/19 21:33:01
|
|
|
Uint32 i = 1; | Uint32 i = 1; |
for (; i < subStrLen; i++) | for (; i < subStrLen; i++) |
if (*pStr++ != *p++ ) | if (*pStr++ != *p++ ) |
{pStr--; break;} // break from loop |
{pStr-=i; break;} // break from loop |
if (i == subStrLen) | if (i == subStrLen) |
return loc; | return loc; |
} | } |
|
|
| |
Uint32 count; | Uint32 count; |
| |
for(count = 0; ((msg16[count]) != Char16(0x00)) && (count <= n); ++count); |
for(count = 0; ((msg16[count]) != Char16(0x00)) && (count < (n - 1)); ++count); |
| |
_rep->c16a.append(msg16, count); | _rep->c16a.append(msg16, count); |
| |