From 37c81f74f85d323fd7c4f04fb826c09da68f8018 Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 16 Oct 2015 20:50:06 +0000 Subject: [PATCH] Fixed System plugin GUID type output bug on Win98 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6625 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/System.c | 2 +- Docs/src/history.but | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Contrib/System/Source/System.c b/Contrib/System/Source/System.c index 42f94533..a1153416 100644 --- a/Contrib/System/Source/System.c +++ b/Contrib/System/Source/System.c @@ -1063,7 +1063,7 @@ void ParamsOut(SystemProc *proc) #else { WCHAR guidstrbuf[39]; - int guidcch = StringFromGUID2(*((REFGUID*)place), guidstrbuf, g_stringsize); + int guidcch = StringFromGUID2(*((REFGUID*)place), guidstrbuf, 39); WideCharToMultiByte(CP_ACP, 0, guidstrbuf, guidcch, realbuf, g_stringsize, NULL, NULL); } #endif diff --git a/Docs/src/history.but b/Docs/src/history.but index d6bf8dcc..7cd6b8ab 100644 --- a/Docs/src/history.but +++ b/Docs/src/history.but @@ -12,6 +12,8 @@ Released on ? ?th, 201? \S2{} Minor Changes +\b Fixed System plugin GUID type output bug on Win98 + \b !system and !execute now provide a empty StdIn pipe to work around bugs in some Windows utilities \b MakeNSISW now uses WinInet when checking for updates