Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
undef21 authored and dscharrer committed Nov 8, 2022
1 parent 67bc920 commit 4c2bc0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmake/VersionString.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set(VERSION_STRING_SCRIPT "${VERSION_SCRIPT_DIR}/VersionScript.cmake")
# - ${var}_${i}_LINE: Everything except the first component of the line
# - ${var}_${i}_NAME: Everything except the last component of the line
# - ${var}_${i}_STRING: The last component (excluding optional suffix) of the line
# - ${var}_${i}_SUFFIX: Suffix (seperated by " + ") of the line
# - ${var}_${i}_SUFFIX: Suffix (separated by " + ") of the line
# - ${var}_${i}_MAJOR: First version component in ${var}_${i}_STRING
# - ${var}_${i}_MINOR: Second version component in ${var}_${i}_STRING
# - ${var}_${i}_PATCH: Third version component in ${var}_${i}_STRING
Expand Down
6 changes: 3 additions & 3 deletions doc/innoextract.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Show checksum \fB$c\fP and salt \fB$s\fP used for the password \fB$p\fP check as

\fB$c = hash($s . $p)\fP

With the \fB\-\-silent\fP option, the checksum name and hash is printed on one line seperated by a space followed by the salt encoded as hex bytes and password encoding on separate lines.
With the \fB\-\-silent\fP option, the checksum name and hash is printed on one line separated by a space followed by the salt encoded as hex bytes and password encoding on separate lines.

Checksum types can be \fBCRC32\fP, \fBMD5\fP or \fBSHA-1\fP although \fBCRC32\fP is not used in installers with encryption.

Expand Down Expand Up @@ -330,12 +330,12 @@ The default value for this option is \fBUTC\fP, causing innoextract to not adjus
\fB\-v\fP, \fB\-\-version\fP
Print the \fBinnoextract\fP version number and supported Inno Setup versions.

If combined with the \fB\-\-silent\fP option, only the version \fInumber\fP is printed. Otherwise, the output will contain the name (innoextract) followed by the version number on the first line, and, unless the \fB\-\-quiet\fP options is specified, the range of suuported Inno Setup installer versions on the second line.
If combined with the \fB\-\-silent\fP option, only the version \fInumber\fP is printed. Otherwise, the output will contain the name (innoextract) followed by the version number on the first line, and, unless the \fB\-\-quiet\fP options is specified, the range of supported Inno Setup installer versions on the second line.
.TP
\fB\-\-no\-warn\-unused\fP
By default, innoextract will print a warning if it encounters \fI.bin\fP files that look like they could be part of the setup but are not used. This option disables that warning.
.SH PATH CONSTANTS
Paths in Inno Setup installers can contain constants (variable or code references) that are expanded at install time. innoextract expands all such constants to their name and replaces unsafe characters with \fB$\fP. For exmaple \fB{app}\fP is expanded to \fBapp\fP while \fB{code:Example}\fP is expanded to \fBcode$Example\fP.
Paths in Inno Setup installers can contain constants (variable or code references) that are expanded at install time. innoextract expands all such constants to their name and replaces unsafe characters with \fB$\fP. For example \fB{app}\fP is expanded to \fBapp\fP while \fB{code:Example}\fP is expanded to \fBcode$Example\fP.

There is currently no way to configure this expansion except for disabling it with the \fB\-\-dump\fP option.
.SH EXIT VALUES
Expand Down
2 changes: 1 addition & 1 deletion src/cli/extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class file_output : private boost::noncopyable {
throw std::exception();
}
} catch(...) {
throw std::runtime_error("Coul not open output file \"" + path_.string() + '"');
throw std::runtime_error("Could not open output file \"" + path_.string() + '"');
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/setup/header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ NAMES(setup::header::architecture_types, "Architecture",
"ARM64",
)

NAMES(setup::header::privileges_required_overrides, "Priviledge Override"
NAMES(setup::header::privileges_required_overrides, "Privilege Override"
"commandline",
"dialog",
)
Expand Down

0 comments on commit 4c2bc0b

Please sign in to comment.