2
0
Эх сурвалжийг харах

Fix a couple of typos (#412)

* Fix a couple of typos in comments

Signed-off-by: Johannes Schindelin <[email protected]>

* Fix a couple of typos in the code

Signed-off-by: Johannes Schindelin <[email protected]>

* Fix a couple of typos in the documentation

Signed-off-by: Johannes Schindelin <[email protected]>
Johannes Schindelin 3 жил өмнө
parent
commit
b2352ed336

+ 2 - 2
Examples/CodeAutomation2.iss

@@ -5,7 +5,7 @@
 ; Note: some unneeded interface functions which had special types have been replaced
 ; by dummies to avoid having to define those types. Do not remove these dummies as
 ; that would change the function indices which is bad. Also, not all function
-; protoypes have been tested, only those used by this example.
+; prototypes have been tested, only those used by this example.
 
 [Setup]
 AppName=My Program
@@ -115,7 +115,7 @@ type
     rgfDaysOfTheWeek: WORD;
   end;
 
-  TMonthyDate = record
+  TMonthlyDate = record
     rgfDays: DWORD;
     rgfMonths: WORD;
   end;

+ 1 - 1
ISHelp/ISHelpGen/ISHelpGen.dpr

@@ -801,7 +801,7 @@ begin
     SL.Add('<html><head></head><body><ul>');
     for I := 0 to Keywords.Count-1 do begin
       { If a keyword is used more then once, don't use anchors: the 'Topics Found'
-        dialog displayed when clicking on such a keyword doesnt display the correct
+        dialog displayed when clicking on such a keyword doesn't display the correct
         topic titles anymore for each item with an anchor. Some HTML Help bug, see
         http://social.msdn.microsoft.com/Forums/en-US/devdocs/thread/a2ee989e-4488-4edd-b034-745ed91c19e2 }
       if not MultiKeyword(Keywords[I]) then

+ 3 - 3
ISHelp/isetup.xml

@@ -126,7 +126,7 @@ Includes integrated support for "deflate", bzip2, and 7-Zip LZMA/LZMA2 file <lin
 
 <li>Support for <link topic="languagessection">multilingual</link> installs, including right-to-left language support.</li>
 
-<li>Support for <link topic="setup_password">passworded</link> and <link topic="setup_encryption">encrypted</link> installs.</li>
+<li>Support for <link topic="setup_password">password-protected</link> and <link topic="setup_encryption">encrypted</link> installs.</li>
 
 <li>Support for <link topic="setup_signtool">digitally signed</link> installs and uninstalls, including dual signing (SHA1 &amp; SHA256).</li>
 
@@ -552,7 +552,7 @@ For example: If you used <tt>{src}\MYPROG.EXE</tt> on an entry and the user is i
 
 <dt><b><a name="localappdata">{localappdata}</a></b></dt>
 <dd>
-<p>The path to the current user's local (nonroaming) Application Data folder.</p>
+<p>The path to the current user's local (non-roaming) Application Data folder.</p>
 </dd>
 
 <dt><b><a name="userappdata">{userappdata}</a></b> &amp; <b><a name="commonappdata">{commonappdata}</a></b></dt>
@@ -1096,7 +1096,7 @@ DefaultGroupName=My Program
 <li><link topic="setup_usepreviousappdir">UsePreviousAppDir</link></li>
 <li><link topic="setup_usepreviousgroup">UsePreviousGroup</link></li>
 <li><link topic="setup_usepreviouslanguage">UsePreviousLanguage</link></li>
-<li><link topic="setup_usepreviousprivileges">UsePreviousPrivigeles</link></li>
+<li><link topic="setup_usepreviousprivileges">UsePreviousPrivileges</link></li>
 <li><link topic="setup_useprevioussetuptype">UsePreviousSetupType</link></li>
 <li><link topic="setup_useprevioustasks">UsePreviousTasks</link></li>
 <li><link topic="setup_useprevioususerinfo">UsePreviousUserInfo</link></li>

+ 1 - 1
ISHelp/isxfunc.xml

@@ -899,7 +899,7 @@ end;</pre></example>
       </function>
       <function>
         <name>SameStr</name>
-        <prototype>function SameStr(const S1, S2: string): Boolan;</prototype>
+        <prototype>function SameStr(const S1, S2: string): Boolean;</prototype>
         <description><p>Compares S1 to S2, with case-sensitivity. The return value is True if they are equal.</p></description>
       </function>
       <function>

+ 2 - 2
Projects/CompForm.pas

@@ -1978,7 +1978,7 @@ begin
         rectSetup.bottom  = MulDiv(pagesetupMargin.bottom, ptDpi.y, 1000);
       } *)
 
-      // Dont reduce margins below the minimum printable area
+      // Don't reduce margins below the minimum printable area
       rectMargins.left := Max(rectPhysMargins.left, rectSetup.left);
       rectMargins.top := Max(rectPhysMargins.top, rectSetup.top);
       rectMargins.right := Max(rectPhysMargins.right, rectSetup.right);
@@ -2046,7 +2046,7 @@ begin
         lengthDoc := lengthDocMax;
     end;
 
-    // We must substract the physical margins from the printable area
+    // We must subtract the physical margins from the printable area
     frPrint.hdc := hdc;
     frPrint.hdcTarget := hdc;
     frPrint.rc.left := rectMargins.left - rectPhysMargins.left;