From 1a6e32bce99094d9ae4365fd32e8605cad7459be Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 23 Sep 2011 17:36:30 +0000 Subject: [PATCH] Fixed some old typos git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6163 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/MultiUser/MultiUser.nsh | 4 ++-- Source/build.cpp | 2 +- Source/tokens.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Contrib/MultiUser/MultiUser.nsh b/Contrib/MultiUser/MultiUser.nsh index c584fb5c..3f06fc52 100644 --- a/Contrib/MultiUser/MultiUser.nsh +++ b/Contrib/MultiUser/MultiUser.nsh @@ -191,11 +191,11 @@ Installer/uninstaller initialization !macro MULTIUSER_INIT_TEXTS !ifndef MULTIUSER_INIT_TEXT_ADMINREQUIRED - !define MULTIUSER_INIT_TEXT_ADMINREQUIRED "$(^Caption) requires administrator priviledges." + !define MULTIUSER_INIT_TEXT_ADMINREQUIRED "$(^Caption) requires administrator privileges." !endif !ifndef MULTIUSER_INIT_TEXT_POWERREQUIRED - !define MULTIUSER_INIT_TEXT_POWERREQUIRED "$(^Caption) requires at least Power User priviledges." + !define MULTIUSER_INIT_TEXT_POWERREQUIRED "$(^Caption) requires at least Power User privileges." !endif !ifndef MULTIUSER_INIT_TEXT_ALLUSERSNOTPOSSIBLE diff --git a/Source/build.cpp b/Source/build.cpp index 7e8f336a..498d1483 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -501,7 +501,7 @@ char* convert_processed_string_to_ansi(char *out, const TCHAR *in, WORD codepage for (;;) { _TUCHAR i = (_TUCHAR)*p++; - if (NS_IS_CODE(i)) // Note: this include '\0' + if (NS_IS_CODE(i)) // Note: this includes '\0' { // convert all character up to, and including this code int cb = WideCharToMultiByte(codepage, 0, in, p-in, out, (p-in)*2, NULL, NULL); diff --git a/Source/tokens.cpp b/Source/tokens.cpp index 25cad31e..85ade425 100644 --- a/Source/tokens.cpp +++ b/Source/tokens.cpp @@ -57,7 +57,7 @@ static tokenType tokenlist[TOK__LAST] = {TOK_COPYFILES,_T("CopyFiles"),2,3,_T("[/SILENT] [/FILESONLY] source_path destination_path [total_size_in_kb]"),TP_CODE}, {TOK_CRCCHECK,_T("CRCCheck"),1,0,_T("(on|force|off)"),TP_GLOBAL}, {TOK_CREATEDIR,_T("CreateDirectory"),1,0,_T("directory_name"),TP_CODE}, -{TOK_CREATEFONT,_T("CreateFont"),2,5,_T("$(user_var: handle output) face_name [height wieght /ITALIC /UNDERLINE /STRIKE]"),TP_CODE}, +{TOK_CREATEFONT,_T("CreateFont"),2,5,_T("$(user_var: handle output) face_name [height weight /ITALIC /UNDERLINE /STRIKE]"),TP_CODE}, {TOK_CREATESHORTCUT,_T("CreateShortCut"),2,6,_T("shortcut_name.lnk shortcut_target [parameters [icon_file [icon index [showmode [hotkey [comment]]]]]]\n showmode=(SW_SHOWNORMAL|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED)\n hotkey=(ALT|CONTROL|EXT|SHIFT)|(F1-F24|A-Z)"),TP_CODE}, {TOK_DBOPTIMIZE,_T("SetDatablockOptimize"),1,0,_T("(off|on)"),TP_ALL}, {TOK_DELETEINISEC,_T("DeleteINISec"),2,0,_T("ini_file section_name"),TP_CODE},