From: Vijay Kiran Kamuju infyquest@gmail.com
--- dlls/mshtml/mshtml_private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index 9609fb5edcb..153d5b5b912 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -1440,7 +1440,8 @@ static inline char *strndupWtoU(const WCHAR *str, unsigned len) size = len ? WideCharToMultiByte(CP_UTF8, 0, str, len, NULL, 0, NULL, NULL) : 0; ret = malloc(size + 1); if(ret) { - if(len) WideCharToMultiByte(CP_UTF8, 0, str, len, ret, size, NULL, NULL); + if(len) + WideCharToMultiByte(CP_UTF8, 0, str, len, ret, size, NULL, NULL); ret[size] = '\0'; } }