Skip to content

Commit 0c7233d

Browse files
authored
Fixes several typos (#520)
1 parent 1929250 commit 0c7233d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+180
-180
lines changed

cmake/dist/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ if (WIN32 AND NOT CYGWIN)
168168
endif (OMP_DLL_LOC)
169169

170170
if (WIN32 AND GMTMEX_PATH)
171-
# Install the gmtmex on Windows. Its location is controled by GMTMEX_PATH set in ConfigUser.cmake
171+
# Install the gmtmex on Windows. Its location is controlled by GMTMEX_PATH set in ConfigUser.cmake
172172
if (BITAGE EQUAL 64)
173173
install (PROGRAMS "${GMTMEX_PATH}/gmtmex.mexw64" DESTINATION ${GMT_BINDIR} COMPONENT Runtime)
174174
else ()

cmake/modules/ConfigureChecks.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ if (WIN32)
178178
endif (WIN32)
179179

180180
# Check if these functions are declared (might not be the case although they
181-
# are build-in)
181+
# are built-in)
182182
check_symbol_exists (strdup string.h DECLARED_STRDUP)
183183
check_symbol_exists (strsep string.h DECLARED_STRSEP)
184184

cmake/modules/NSIS.template.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ Section "Uninstall"
10961096
@CPACK_NSIS_DELETE_ICONS@
10971097
@CPACK_NSIS_DELETE_ICONS_EXTRA@
10981098

1099-
;Delete empty start menu parent diretories
1099+
;Delete empty start menu parent directories
11001100
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
11011101

11021102
startMenuDeleteLoop:
@@ -1115,7 +1115,7 @@ Section "Uninstall"
11151115
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
11161116
@CPACK_NSIS_DELETE_ICONS_EXTRA@
11171117

1118-
;Delete empty start menu parent diretories
1118+
;Delete empty start menu parent directories
11191119
StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
11201120

11211121
secondStartMenuDeleteLoop:

doc/rst/source/GMT_Docs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ The upper uses Gregorian weeks (which start at the day chosen by
15161516
gmt set FORMAT_DATE_MAP u FORMAT_TIME_PRIMARY_MAP Character \
15171517
FORMAT_TIME_SECONDARY_MAP full FONT_ANNOT_PRIMARY +9p
15181518
gmt basemap -R1969-7-21T/1969-8-9T/0/1 -JX5i/0.2i -Bpa1K -Bsa1U -BS -P -K > GMT_-B_time5.ps
1519-
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Chararacter
1519+
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Character
15201520
gmt basemap -R -J -Bpa3Kf1k -Bsa1r -BS -O -Y0.65i >> GMT_-B_time5.ps
15211521

15221522
.. _cartesian_axis5:

doc/rst/source/GMT_Docs_classic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ The upper uses Gregorian weeks (which start at the day chosen by
15221522
gmt set FORMAT_DATE_MAP u FORMAT_TIME_PRIMARY_MAP Character \
15231523
FORMAT_TIME_SECONDARY_MAP full FONT_ANNOT_PRIMARY +9p
15241524
gmt psbasemap -R1969-7-21T/1969-8-9T/0/1 -JX5i/0.2i -Bpa1K -Bsa1U -BS -P -K > GMT_-B_time5.ps
1525-
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Chararacter
1525+
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Character
15261526
gmt psbasemap -R -J -Bpa3Kf1k -Bsa1r -BS -O -Y0.65i >> GMT_-B_time5.ps
15271527

15281528
.. _cartesian_axis5:

doc/rst/source/grdmask.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Optional Arguments
116116
perform a rectangular search where all nodes within ±\ *xlim* and
117117
±\ *ylim* of a data point will be considered inside.
118118
One can also achieve the rectangular selection effect by using the **-S**\ *<n_cells>c* form.
119-
Here *n_cells* means the number of cells arround each data point. As an example, **-S0c** means
119+
Here *n_cells* means the number of cells around each data point. As an example, **-S0c** means
120120
that only the cell where point lies is masked, **-S1c** masks one cell beyond that
121121
(i.e. makes a 3x3 neighborhood), and so on.
122122

doc/rst/source/julia_wrapper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Definition of the *daset type*.
253253
comment::Array{Any,1} # Cell array with any comments
254254
end
255255
256-
Definition of the *cpt type* that holds a CPT paltette.
256+
Definition of the *cpt type* that holds a CPT palette.
257257

258258
.. _ps-type:
259259

doc/rst/source/solar_notes.rst_

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
References
22
----------
33

4-
Code from the Excell spreadshits in http://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html
4+
Code from the Excel Spreadsheets in http://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html
55

66

77
Notes

doc/rst/source/supplements/spotter/polespotter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Examples
189189

190190
To create a polespotting image from the abyssal hill and fracture zone fabric
191191
(lon,lat) data in the files hills.txt and fractures.txt, on a 1x1 degree grid
192-
for the norhern hemisphere, sampling the great circles every 10 km, and also
192+
for the northern hemisphere, sampling the great circles every 10 km, and also
193193
dump the great circles to standard output, try
194194

195195
::

doc/rst/source/surface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Optional Arguments
131131
than *max_radius* away from a data constraint is set to NaN [no masking].
132132
Append a distance unit (see UNITS) if needed.
133133
One can also select the nodes to mask by using the **-M**\ *<n_cells>c* form.
134-
Here *n_cells* means the number of cells arround the node controled by a data point. As an example
134+
Here *n_cells* means the number of cells around the node controlled by a data point. As an example
135135
**-M0c** means that only the cell where point lies is filled, **-M1c** keeps one cell
136136
beyond that (i.e. makes a 3x3 neighborhood), and so on.
137137

doc/scripts/GMT_-B_time5.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
gmt begin GMT_-B_time5 ps
33
gmt set FORMAT_DATE_MAP u FORMAT_TIME_PRIMARY_MAP Character FORMAT_TIME_SECONDARY_MAP full FONT_ANNOT_PRIMARY +9p
44
gmt basemap -R1969-7-21T/1969-8-9T/0/1 -JX5i/0.2i -Bpa1K -Bsa1U -BS
5-
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Chararacter
5+
gmt set FORMAT_DATE_MAP o TIME_WEEK_START Sunday FORMAT_TIME_SECONDARY_MAP Character
66
gmt basemap -Bpa3Kf1k -Bsa1r -BS -Y0.65i
77
gmt end

doc/scripts/GMT_App_M_1a.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
#
33
# Makes the insets for Appendix M(cpt)
4-
# [skip srtm which is just a special verison of dem2]
4+
# [skip srtm which is just a special version of dem2]
55
#
66
# Use the knowledge that we need 3 pages: First two pages are the
77
# 44 original GMT 5 CPTs and the last page has 17 scientific colormaps

doc/scripts/GMT_App_M_1b.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
#
33
# Makes the insets for Appendix M(cpt)
4-
# [skip srtm which is just a special verison of dem2]
4+
# [skip srtm which is just a special version of dem2]
55
# Use the knowledge that we need 2 pages.
66
# 44 original GMT 5 CPTs and the last page has 17 scientific colormaps
77
# from Fabio [www.fabiocrameri.ch/visualisation]

doc/scripts/GMT_App_M_1c.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
#
33
# Makes the insets for Appendix M(cpt)
4-
# [skip srtm which is just a special verison of dem2]
4+
# [skip srtm which is just a special version of dem2]
55
# Use the knowledge that we need 3 pages.
66
# 44 original GMT 5 CPTs and the last page has 18 scientific colormaps
77
# from Fabio [www.fabiocrameri.ch/visualisation]

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ if (OPENMP_FOUND AND GMT_OPENMP)
171171
CACHE INTERNAL "OPENMP config message")
172172
if (WIN32 AND OMP_DLL_LOC)
173173
# UGLY AND RISKY PATCH FOR THE CPACK BUG OF NOT COPYING THE OMP DLL. THIS PATCH RELIES
174-
# ON THE SETING OF THE OMP_DLL_LOC VARIABLE IN ConfigUser.cmake. MINE HAS:
174+
# ON THE SETTING OF THE OMP_DLL_LOC VARIABLE IN ConfigUser.cmake. MINE HAS:
175175
# set (OMP_DLL_LOC "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/redist/x64/Microsoft.VC120.OPENMP/vcomp120.dll")
176176
install(FILES ${OMP_DLL_LOC} DESTINATION bin COMPONENT Libraries)
177177
endif (WIN32 AND OMP_DLL_LOC)

src/PSL_strings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ static char *PSL_prologue_str =
10271027
"% Translate and memorize advance\n"
10281028
"/PSL_xorig 0 def /PSL_yorig 0 def\n"
10291029
"/TM {2 copy T PSL_yorig add /PSL_yorig edef PSL_xorig add /PSL_xorig edef}!\n"
1030-
"% To reencode one font with the provided encoding vector\n"
1030+
"% To re-encode one font with the provided encoding vector\n"
10311031
"/PSL_reencode {findfont dup length dict begin\n"
10321032
" {1 index /FID ne {def}{pop pop} ifelse} forall\n"
10331033
" exch /Encoding edef currentdict end definefont pop\n"

src/blockmean.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMEAN_CTRL *Ctrl, struct G
225225
}
226226
if (Ctrl->G.active) { /* Make sure -A sets valid fields, some require -E */
227227
if (!Ctrl->E.active && (Ctrl->A.selected[1] || Ctrl->A.selected[2] || Ctrl->A.selected[3])) {
228-
/* -E is required if -A specifices l or h */
228+
/* -E is required if -A specifies l or h */
229229
Ctrl->E.active = true; /* Extended report with standard deviation, min, and max in cols 4-6 */
230230
}
231231
if (GMT->parent->external && !Ctrl->A.active) { /* From externals let -G equals -Az */
@@ -247,11 +247,11 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMEAN_CTRL *Ctrl, struct G
247247
Ctrl->A.selected[0] = true, Ctrl->A.n_selected = 1;
248248
else { /* Make sure -A choices are valid and that -E is set if extended fields are selected */
249249
if (!Ctrl->E.active && (Ctrl->A.selected[1] || Ctrl->A.selected[2] || Ctrl->A.selected[3])) {
250-
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifices s, l, or h. -E was added.\n");
250+
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifies s, l, or h. -E was added.\n");
251251
Ctrl->E.active = true;
252252
}
253253
if (Ctrl->A.selected[4] && !Ctrl->W.weighted[GMT_OUT]) {
254-
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifices w.\n");
254+
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifies w.\n");
255255
n_errors++;
256256
}
257257
}
@@ -452,7 +452,7 @@ int GMT_blockmean (void *V_API, int mode, void *args) {
452452

453453
w_col = gmt_get_cols (GMT, GMT_OUT) - 1; /* Index of weight column (the last output column) */
454454
n_cells_filled = 0; /* Number of blocks with values */
455-
fcol[4] = (unsigned int)w_col; /* Since we dont know what it is until parsed */
455+
fcol[4] = (unsigned int)w_col; /* Since we don't know what it is until parsed */
456456
GMT_Report (API, GMT_MSG_LONG_VERBOSE, "Calculating block means\n");
457457

458458
if (Ctrl->G.active) { /* Create the grid(s) */

src/blockmedian.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,18 +217,18 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMEDIAN_CTRL *Ctrl, struct
217217
n_errors++;
218218
}
219219
else { /* Plain -E is added */
220-
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifices s, l, or h. -E was added.\n");
220+
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifies s, l, or h. -E was added.\n");
221221
Ctrl->E.active = true;
222222
Ctrl->E.mode = BLK_DO_EXTEND3; /* Report L1scale, low, high in cols 4-6 */
223223
}
224224
}
225225
else if (Ctrl->A.selected[3] || Ctrl->A.selected[4]) { /* Need q25 or q75 and s not set, so add -Eb */
226-
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-Eb is required if -A specifices q25 or q75. -Eb was added.\n");
226+
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-Eb is required if -A specifies q25 or q75. -Eb was added.\n");
227227
Ctrl->E.active = true;
228228
Ctrl->E.mode = BLK_DO_EXTEND4; /* Report low, 25%, 75% and high in cols 4-7 */
229229
}
230230
else if (Ctrl->A.selected[2] || Ctrl->A.selected[5]) { /* Plain -E is added */
231-
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifices s, l, or h. -E was added.\n");
231+
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifies s, l, or h. -E was added.\n");
232232
Ctrl->E.active = true;
233233
Ctrl->E.mode = BLK_DO_EXTEND3; /* Report L1scale, low, high in cols 4-6 */
234234
}
@@ -254,7 +254,7 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMEDIAN_CTRL *Ctrl, struct
254254
Ctrl->A.selected[0] = true, Ctrl->A.n_selected = 1;
255255
else { /* Make sure -A choices are valid and that -E is set if extended fields are selected */
256256
if (Ctrl->A.selected[6] && !Ctrl->W.weighted[GMT_OUT]) {
257-
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifices w.\n");
257+
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifies w.\n");
258258
n_errors++;
259259
}
260260
}
@@ -521,7 +521,7 @@ int GMT_blockmedian (void *V_API, int mode, void *args) {
521521
data = gmt_M_malloc (GMT, data, 0, &n_alloc, struct BLK_DATA);
522522
}
523523
w_col = gmt_get_cols (GMT, GMT_OUT) - 1; /* Weights always reported in last output column */
524-
fcol[6] = (unsigned int)w_col; /* Since we dont know what it is until parsed */
524+
fcol[6] = (unsigned int)w_col; /* Since we don't know what it is until parsed */
525525

526526
/* Ready to go. */
527527

src/blockmode.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMODE_CTRL *Ctrl, struct G
230230

231231
if (Ctrl->G.active) { /* Make sure -A sets valid fields, some require -E */
232232
if (!Ctrl->E.active && (Ctrl->A.selected[1] || Ctrl->A.selected[2] || Ctrl->A.selected[3])) {
233-
/* -E is required if -A specifices l or h */
233+
/* -E is required if -A specifies l or h */
234234
Ctrl->E.active = true; /* Extended report with standard deviation, min, and max in cols 4-6 */
235235
Ctrl->E.mode = BLK_DO_EXTEND3; /* Report LMSscale, low, high in cols 4-6 */
236236
}
@@ -254,11 +254,11 @@ GMT_LOCAL int parse (struct GMT_CTRL *GMT, struct BLOCKMODE_CTRL *Ctrl, struct G
254254
Ctrl->A.selected[0] = true, Ctrl->A.n_selected = 1;
255255
else { /* Make sure -A choices are valid and that -E is set if extended fields are selected */
256256
if (!Ctrl->E.active && (Ctrl->A.selected[1] || Ctrl->A.selected[2] || Ctrl->A.selected[3])) {
257-
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifices s, l, or h. -E was added.\n");
257+
GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "-E is required if -A specifies s, l, or h. -E was added.\n");
258258
Ctrl->E.active = true;
259259
}
260260
if (Ctrl->A.selected[4] && !Ctrl->W.weighted[GMT_OUT]) {
261-
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifices w.\n");
261+
GMT_Report (GMT->parent, GMT_MSG_NORMAL, "-W or -Wo is required if -A specifies w.\n");
262262
n_errors++;
263263
}
264264
}
@@ -355,7 +355,7 @@ GMT_LOCAL double bin_mode (struct GMT_CTRL *GMT, struct BLK_DATA *d, uint64_t n,
355355
case BLOCKMODE_AVE: /* Get the average of the modes */
356356
value += ((bin + B->min) + B->o_offset) * B->width;
357357
break;
358-
case BLOCKMODE_HIGH: /* Update highest mode so far, when loop exits we have the hightest mode */
358+
case BLOCKMODE_HIGH: /* Update highest mode so far, when loop exits we have the highest mode */
359359
value = ((bin + B->min) + B->o_offset) * B->width;
360360
break;
361361
}
@@ -649,7 +649,7 @@ int GMT_blockmode (void *V_API, int mode, void *args) {
649649
data = gmt_M_malloc (GMT, data, 0, &n_alloc, struct BLK_DATA);
650650
}
651651
w_col = gmt_get_cols (GMT, GMT_OUT) - 1; /* Weights always reported in last output column */
652-
fcol[4] = (unsigned int)w_col; /* Since we dont know what it is until parsed */
652+
fcol[4] = (unsigned int)w_col; /* Since we don't know what it is until parsed */
653653

654654
/* Ready to go. */
655655

0 commit comments

Comments
 (0)