diff --git a/Contrib/VPatch/Source/Plugin/apply_patch.c b/Contrib/VPatch/Source/Plugin/apply_patch.c
index d0e00258..24beb2da 100644
--- a/Contrib/VPatch/Source/Plugin/apply_patch.c
+++ b/Contrib/VPatch/Source/Plugin/apply_patch.c
@@ -49,7 +49,7 @@ int DoPatch(HANDLE hPatch, HANDLE hSource, HANDLE hDest) {
FILETIME targetModifiedTime;
// special 'addition' for the dll: since the patch file is now
- // in a seperate file, the VPAT header might be right at the start
+ // in a separate file, the VPAT header might be right at the start
// of the file, and a pointer at the end of the file is probably missing
// (because all patch generator versions don't append it, the linker/gui
// does this).
diff --git a/Docs/src/bin/halibut/bk_xhtml.c b/Docs/src/bin/halibut/bk_xhtml.c
index 114ff4fb..9129e9bb 100644
--- a/Docs/src/bin/halibut/bk_xhtml.c
+++ b/Docs/src/bin/halibut/bk_xhtml.c
@@ -672,7 +672,7 @@ static void xhtml_ponder_layout(paragraph * p)
#define NAMEDFRAGMENT_MAXLEN 200 /* More than enough for our usage */
/*
- * Get formated fragment name for html anchor.
+ * Get formatted fragment name for html anchor.
* Uses para->keyword if possible, falls back to the ?#.#.# default.
*/
static char*
diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but
index 5bf04d4d..f0e2acca 100644
--- a/Docs/src/usefulinfos.but
+++ b/Docs/src/usefulinfos.but
@@ -123,7 +123,7 @@ To call a function in a third party DLL, the \R{call}{Call} function is used lik
\c System::Call 'YourDllName::YourDllFunction(i, *i, t) i(r0, .r1, r2) .r3'
-The '(r0, .r1, r2) .r3' section at the end are the parameters that are passed between your DLL and your NSIS script. As can be seen in this parameters list type and input/output can be seperated. Each block of "(parms list) return value" overrides and/or adds to the last one. In this case, the first block specifies the types and the second specifies input and output.
+The '(r0, .r1, r2) .r3' section at the end are the parameters that are passed between your DLL and your NSIS script. As can be seen in this parameters list type and input/output can be separated. Each block of "(parms list) return value" overrides and/or adds to the last one. In this case, the first block specifies the types and the second specifies input and output.
\\Before starting to code the NSIS script\\ \\
Before you start to code any NSIS code, you need to know the full prototype of the function you are going to call. For the purposes of this example, we will use the 'CmGetHotSyncExecPath' function from the Palm 'CondMgr.dll'. This function is used to return the full path of 'HotSync.exe'.
diff --git a/Examples/rtest.nsi b/Examples/rtest.nsi
index e64cd72e..0a945150 100644
--- a/Examples/rtest.nsi
+++ b/Examples/rtest.nsi
@@ -27,7 +27,7 @@ Section "Test 1"
Goto end
success:
- DetailPrint "Test 1 succeded (output: $R0)"
+ DetailPrint "Test 1 succeeded (output: $R0)"
end:
@@ -69,7 +69,7 @@ Section "Test 2"
Goto end
success:
- DetailPrint "Test 2 succeded (output: $R1)"
+ DetailPrint "Test 2 succeeded (output: $R1)"
end:
diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c
index 887b42d1..052c4501 100644
--- a/Source/exehead/exec.c
+++ b/Source/exehead/exec.c
@@ -1182,7 +1182,7 @@ static int NSISCALL ExecuteEntry(entry *entry_)
case EW_READINISTR:
{
// GetPrivateProfileString can't read CR & LF characters inside values from INI files
- // so we use "\n" as a detection system to see if we did succesfully read a value
+ // so we use "\n" as a detection system to see if we did successfully read a value
const TCHAR errstr[] = _T("\n");
TCHAR *p=var0;
TCHAR *buf0=GetStringFromParm(0x01);
diff --git a/Source/exehead/fileform.h b/Source/exehead/fileform.h
index 5c885abf..53cb07b5 100644
--- a/Source/exehead/fileform.h
+++ b/Source/exehead/fileform.h
@@ -32,7 +32,7 @@
// pages (struct page)
// section headers (struct section)
// entries/instructions (struct entry)
-// strings (null seperated)
+// strings (null separated)
// language tables (language id, dialog offset, language strings)
// colors (struct color)
// data block (compressed files and uninstaller data)
diff --git a/Source/exehead/util.c b/Source/exehead/util.c
index 8dc73b4b..66639019 100644
--- a/Source/exehead/util.c
+++ b/Source/exehead/util.c
@@ -52,7 +52,7 @@ NSIS_STRING g_usrvarssection[1];
TCHAR g_usrvarssection[1] __attribute__((section (NSIS_VARS_SECTION)));
const NSIS_STRING*const g_usrvarsstart = (const NSIS_STRING*const) g_usrvarssection;
# else
-# error Unknown compiler. You must implement the seperate PE section yourself.
+# error Unknown compiler. You must implement the separate PE section yourself.
# endif
#endif
diff --git a/Source/lang.cpp b/Source/lang.cpp
index 902bbf4e..1bb66ed9 100644
--- a/Source/lang.cpp
+++ b/Source/lang.cpp
@@ -434,7 +434,7 @@ int CEXEBuild::DefineLangString(const TCHAR *name, int process/*=-1*/) {
#endif
// Now set the new index and uindex values with the
- // passed in proces value.
+ // passed in process value.
build_langstrings.set(pos, index, uindex, process);
// set reference count for NLF strings
diff --git a/Source/util.cpp b/Source/util.cpp
index c3f66b5e..b8bc14c2 100644
--- a/Source/util.cpp
+++ b/Source/util.cpp
@@ -771,7 +771,7 @@ void RawTStrToASCII(const TCHAR*in,char*out,UINT maxcch)
* ExpandoStrFmtVaList returns the number of characters written excluding
* the \0 terminator or 0 on error.
* realloc() is used on *ppMalloc if cchStack is not
- * large enough to hold the formated string.
+ * large enough to hold the formatted string.
*/
size_t ExpandoStrFmtVaList(wchar_t*Stack, size_t cchStack, wchar_t**ppMalloc, const wchar_t*FmtStr, va_list Args)
{
@@ -1208,7 +1208,7 @@ static bool GetDLLVersionUsingRE(const tstring& filepath, DWORD& high, DWORD & l
// get VS_FIXEDFILEINFO from VS_VERSIONINFO
WINWCHAR *szKey = (WINWCHAR *)(ver + sizeof(WORD) * 3);
size_t len = (WinWStrLen(szKey) + 1) * sizeof(WINWCHAR) + sizeof(WORD) * 3;
- len = (len + 3) & ~3; // align on DWORD boundry
+ len = (len + 3) & ~3; // align on DWORD boundary
VS_FIXEDFILEINFO *verinfo = (VS_FIXEDFILEINFO *)(ver + len);
if (versize > len && verinfo->dwSignature == VS_FFI_SIGNATURE)
{