diff options
Diffstat (limited to 'debian/patches/0100_spelling.patch')
-rw-r--r-- | debian/patches/0100_spelling.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/0100_spelling.patch b/debian/patches/0100_spelling.patch index 1b7d8cb..04dc5e9 100644 --- a/debian/patches/0100_spelling.patch +++ b/debian/patches/0100_spelling.patch @@ -63,6 +63,15 @@ Index: trunk/spectro/spotread.c { comport = atoi(na); if (comport < 1 || comport > 40) usage("-c parameter %d out of range",comport); +@@ -526,7 +526,7 @@ int main(int argc, char *argv[]) { + /* Display type */ + } else if (argv[fa][1] == 'y') { + fa = nfa; +- if (na == NULL) usage("Paramater expected following -y"); ++ if (na == NULL) usage("Parameter expected following -y"); + ditype = na[0]; + if (ditype == '_' && na[1] != '\000') + ditype = ditype << 8 | na[1]; @@ -536,7 +536,7 @@ int main(int argc, char *argv[]) { } else if (argv[fa][1] == 'I') { @@ -1376,6 +1385,15 @@ Index: trunk/spectro/smcube.c p->gotcoms = 1; +@@ -768,7 +768,7 @@ smcube_interp_error(inst *pp, int ec) { + case SMCUBE_INT_THREADFAILED: + return "Starting diffuser position thread failed"; + case SMCUBE_INT_ILL_WRITE: +- return "Attemp to write to factory calibration"; ++ return "Attempt to write to factory calibration"; + case SMCUBE_INT_WHITE_CALIB: + return "No valid white calibration"; + case SMCUBE_INT_BLACK_CALIB: @@ -1248,7 +1248,7 @@ smcube_get_idle_time(smcube *p, int *pit itime = read_ORD16_be(buf + 4); @@ -1682,3 +1700,16 @@ Index: trunk/spectro/munki_imp.h #define MUNKI_INT_CAL_SAVE 0x65 /* Unable to save calibration to file */ #define MUNKI_INT_CAL_RESTORE 0x66 /* Unable to restore calibration from file */ #define MUNKI_INT_CAL_TOUCH 0x67 /* Unable to touch calibration file */ +Index: trunk/spectro/spec2cie.c +=================================================================== +--- trunk.orig/spectro/spec2cie.c ++++ trunk/spectro/spec2cie.c +@@ -215,7 +215,7 @@ main(int argc, char *argv[]) + calstdi = xcalstd_gmdi; + calstdo = xcalstd_xrdi; + } else { +- //usage("Paramater after -A '%c%c' not recognized",na[0],na[1]); ++ //usage("Parameter after -A '%c%c' not recognized",na[0],na[1]); + usage(); + } + } |