replaced WCStrLen with winchar_strlen
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5056 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5dcb76d379
commit
a8f8c50538
2 changed files with 3 additions and 10 deletions
|
@ -392,13 +392,6 @@ int generate_unicons_offsets(unsigned char* exeHeader, size_t exeHeaderSize, uns
|
|||
}
|
||||
#endif // NSIS_CONFIG_UNINSTALL_SUPPORT
|
||||
|
||||
// returns the number of WCHARs in str including null charcter
|
||||
size_t WCStrLen(const WCHAR* szwStr) {
|
||||
size_t i;
|
||||
for (i = 0; szwStr[i]; i++);
|
||||
return i+1;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
char *CharPrev(const char *s, const char *p) {
|
||||
if (!s || !p || p < s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue