From f674bf118f91906cb63275c61f51a8f8e11ed3ad Mon Sep 17 00:00:00 2001 From: anders_k Date: Tue, 8 Mar 2016 03:05:42 +0000 Subject: [PATCH] Minor documentation tweaks git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6715 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/VPatch/Readme.html | 2 +- Docs/src/compiler.but | 4 ++-- Docs/src/var.but | 2 +- Include/Win/WinDef.nsh | 4 ---- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Contrib/VPatch/Readme.html b/Contrib/VPatch/Readme.html index 9d287e29..3b9d700c 100644 --- a/Contrib/VPatch/Readme.html +++ b/Contrib/VPatch/Readme.html @@ -105,7 +105,7 @@ a:hover

VPatch allows to create a patch file to update previous versions of your software. The GenPat utility generates the patch file. The plug-in can use the patch to update a file. Using a patch, you can - reduce the download size of your updates, because only the differences + reduce the download size of your updates because only the differences between the files are included in the patch file.

How to use

diff --git a/Docs/src/compiler.but b/Docs/src/compiler.but index 8903efab..fc6d9ffb 100644 --- a/Docs/src/compiler.but +++ b/Docs/src/compiler.but @@ -226,8 +226,8 @@ NSIS version used to build the script. NSIS version as a 32 bit number. -\c !if 0x2046000 >= ${NSIS_PACKEDVERSION} -\c !error "NSIS 2.47 or higher is required to build this installer!" +\c !if 0x3014000 >= "${NSIS_PACKEDVERSION}" +\c !error "NSIS 3.15 or higher is required to build this installer!" \c !endif \S1{preunicodecodepoint} $\{U+1\}...$\{U+10FFFF\} diff --git a/Docs/src/var.but b/Docs/src/var.but index da7af1a2..2b045df8 100644 --- a/Docs/src/var.but +++ b/Docs/src/var.but @@ -237,7 +237,7 @@ This constant is available on Windows XP and above. \e{$HWNDPARENT} -The decimal HWND of the parent window. +HWND of the main window (in decimal). \e{$PLUGINSDIR} diff --git a/Include/Win/WinDef.nsh b/Include/Win/WinDef.nsh index 1fcb51b5..cf84ee4f 100644 --- a/Include/Win/WinDef.nsh +++ b/Include/Win/WinDef.nsh @@ -58,13 +58,9 @@ IntOp ${_tmpvar} "${_whi}" << 16 IntOp ${_outvar} ${_outvar} | ${_tmpvar} !macroend !define MAKELONG "!insertmacro _Win_MAKELONG32 " -!if "${NSIS_PTR_SIZE}" <= 4 !define MAKEWPARAM "${MAKELONG}" !define MAKELPARAM "${MAKELONG}" !define MAKELRESULT "${MAKELONG}" -!else -!error "Missing 64bit imp!" -!endif !endif /* __WIN_NOINC_WINDEF */