Misc. typos

Found via `codespell` 
+ removed rtengine/dcraw.patch per discussion in https://github.com/Beep6581/RawTherapee/pull/4395
This commit is contained in:
luz.paz
2018-02-14 14:03:38 -05:00
parent c4068444a8
commit c3c3ceac79
60 changed files with 107 additions and 4325 deletions

View File

@@ -115,7 +115,7 @@ namespace RTProfilerBuilder {
} // end if camera=xxx
// This is for camera independend settings
// This is for camera independent settings
switch (sectionEntry) {
// These are parsed from EXIFTOOL and XMP in DNG (see http://en.wikipedia.org/wiki/Extensible_Metadata_Platform)
case "IPTC/City":
@@ -262,7 +262,7 @@ namespace RTProfilerBuilder {
/// <param name="correct">Correction factors</param>
public DistortionCorrectProf(double[] focLen, double[] correct) {
if (focLen == null || correct == null || focLen.Length != correct.Length || focLen.Length < 2)
throw new Exception("DistortionCorrectProf inputs must be valid and of the same lenghts, at least 2 points");
throw new Exception("DistortionCorrectProf inputs must be valid and of the same lengths, at least 2 points");
adFocLen = focLen; adCorrect = correct;

View File

@@ -31,7 +31,7 @@ download () {
wget --progress=dot:binary --continue --trust-server-names --tries=1 --timestamping "$1" 2>&1 | sed "s/^/\t/"
return=${PIPESTATUS[0]}
((retries--))
if [[ $return -eq 0 ]]; then # I don't trust wget to only exit with 0 if it downloaded the file succesfully, so I check.
if [[ $return -eq 0 ]]; then # I don't trust wget to only exit with 0 if it downloaded the file successfully, so I check.
if [[ -f "$(basename "$1")" ]]; then
break
fi
@@ -145,7 +145,7 @@ if [[ ${inFile} = http* ]]; then # if inFile is a url and if we haven't download
echo
}
else # otherwise if inFile is not a url, check if it exists
[[ ! -e "${inFile}" ]] && { # if it doesnt exist, choke
[[ ! -e "${inFile}" ]] && { # if it doesn't exist, choke
printf "%s\n" "You specified" "-i ${inFile}" "but that file does not exist."
exit 1
}
@@ -242,7 +242,7 @@ for s in "${!sidecarFinal[@]}"; do
## t="$(( $RANDOM %20 )).$(( $RANDOM %999 ))"
# benchmark stores time array of each run, gets reset after each PP3
benchmark+=("$t")
# total stores time array of each run, doesnt get reset, adds up total afterwards
# total stores time array of each run, doesn't get reset, adds up total afterwards
total+=("$t")
i="$(printf "%02d\n" "$i")"
if [[ $testAllTools -eq 1 ]]; then

View File

@@ -8,7 +8,7 @@ As requested in issue 1904 ( http://code.google.com/p/rawtherapee/issues/detail?
the preferred choice of setup mechanism is Wix widgets. However an InnoSetup script has been
created before the definitive choice and has been added to the source tree, for convenience.
Once the Wix setup mechanism will be operational, the InnoSetup can be supressed from the source
Once the Wix setup mechanism will be operational, the InnoSetup can be suppressed from the source
tree.
All discussion about the present document and the setup scripts has to be done in issue 1904.