From 069a18860add2a23b9135e4db3e77f308868a0a1 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 22 Jan 2014 03:35:26 +0000 Subject: [PATCH] arg name is s not str git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6429 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/winchar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/winchar.cpp b/Source/winchar.cpp index 8b7697cb..2e4f2e2e 100644 --- a/Source/winchar.cpp +++ b/Source/winchar.cpp @@ -49,7 +49,7 @@ size_t WinWStrLen(const WINWCHAR *s) #ifdef MAKENSIS // Only makensis implements all the functions in utf.cpp return StrLenUTF16(s); #else - return sizeof(wchar_t) == 2 ? wcslen((wchar_t*)str) : InlineStrLenUTF16(str); + return sizeof(wchar_t) == 2 ? wcslen((wchar_t*)s) : InlineStrLenUTF16(s); #endif }