Fixed some old typos

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6163 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2011-09-23 17:36:30 +00:00
parent aeca0623b7
commit 1a6e32bce9
3 changed files with 4 additions and 4 deletions

View file

@ -501,7 +501,7 @@ char* convert_processed_string_to_ansi(char *out, const TCHAR *in, WORD codepage
for (;;)
{
_TUCHAR i = (_TUCHAR)*p++;
if (NS_IS_CODE(i)) // Note: this include '\0'
if (NS_IS_CODE(i)) // Note: this includes '\0'
{
// convert all character up to, and including this code
int cb = WideCharToMultiByte(codepage, 0, in, p-in, out, (p-in)*2, NULL, NULL);