Skip to content

Commit ccfcb92

Browse files
DimitriPapadopouloshjmjohnson
authored andcommitted
Typos found by codespell
1 parent 7934f74 commit ccfcb92

File tree

24 files changed

+103
-103
lines changed

24 files changed

+103
-103
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CMakeLists.txt.user*
3434
# Mac System File
3535
.DS_Store
3636

37-
# A common file writen from vim by accident
37+
# A common file written from vim by accident
3838
:w
3939

4040
# Files when cmake builds in the source tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ option( BUILD_SHARED_LIBS "Toggle building shared libraries." OFF)
5353
option(NIFTI_BUILD_APPLICATIONS "Build various utility tools" ON)
5454
mark_as_advanced(NIFTI_BUILD_APPLICATIONS)
5555

56-
#When including nifti as a subpackage, a prefix is often needed to avoid conflicts with sytem installed libraries.
56+
#When including nifti as a subpackage, a prefix is often needed to avoid conflicts with system installed libraries.
5757
set_if_not_defined(NIFTI_PACKAGE_PREFIX "")
5858
set(PACKAGE_NAME ${NIFTI_PACKAGE_PREFIX}NIFTI)
5959
set_if_not_defined(NIFTI_INSTALL_EXPORT_NAME ${PACKAGE_NAME}Targets)
6060

6161
# Set default shared library version
6262
# This library version will be applied to all libraries in the package
63-
# unless it is not explicitely for a certain lib.
63+
# unless it is not explicitly for a certain lib.
6464
set(NIFTI_SHAREDLIB_VERSION ${GIT_REPO_VERSION} )
6565
if(BUILD_SHARED_LIBS AND NOT NIFTI_LIBRARY_PROPERTIES)
6666
set(NIFTI_LIBRARY_PROPERTIES ${DEFAULT_SHARED_LIBS}
@@ -179,7 +179,7 @@ endif()
179179

180180
option(USE_FSL_CODE "If OFF, The copyright of this code is questionable for inclusion with nifti." OFF)
181181
mark_as_advanced(USE_FSL_CODE)
182-
# the order of add_subdirectory is important! fsliolob has to preceed examples
182+
# the order of add_subdirectory is important! fsliolob has to precede, examples
183183
# as otherwise FSLIOLIB_SOURCE_DIR is undefined and hence the examples
184184
# will fail to compile
185185
if(USE_FSL_CODE)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ tar:
205205
mention_cmake:
206206
@echo ""
207207
@echo "---------------------------------------------------------"
208-
@echo "This packages has changed to rely more primarly on cmake,"
208+
@echo "This packages has changed to rely more primarily on cmake,"
209209
@echo "and the Makefile system needs a little love."
210210
@echo ""
211211
@echo "Consider the steps for cmake, if they would be helpful:"

Makefile.cross_mingw32

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Like the other parts of this package, this code is placed into the public
1111
# domain.
1212
#
13-
# The 'devpak' target generates a DevPak suiteable for Dev-Cpp, see:
13+
# The 'devpak' target generates a DevPak suitable for Dev-Cpp, see:
1414
# http://www.bloodshed.net/devcpp.html
1515
#
1616
# Requirements:
@@ -79,7 +79,7 @@ install-devpak: build-devpak
7979
cd $(build_dir) && make install DESTDIR=../
8080

8181
devpak: install-devpak
82-
# nifti_tool header is unecessary
82+
# nifti_tool header is unnecessary
8383
rm $(devpak_dir)/include/nifti/nifti_tool.h
8484

8585
# generate devpak info file

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ hope it is also a useful i/o library.
1616
`Nifti_clib` code is released into the public domain,
1717
developers are encouraged to incorporate niftilib code into their applications,
1818
and, to contribute changes and enhancements to niftilib. Please contact us if
19-
you would like to contribute additonal functionality to the i/o library.
19+
you would like to contribute additional functionality to the i/o library.
2020

2121
The main webpage for this project is [hosted on github](https://nifti-imaging.github.io/).
22-
This web site provde historical information. Additional informaiton from the [NIFTI DFWG](http://nifti.nimh.nih.gov)
22+
This web site provde historical information. Additional information from the [NIFTI DFWG](http://nifti.nimh.nih.gov)
2323

2424
The testing dashboard for monitoring the health of the libraries is at
2525
[my.cdash.org](https://my.cdash.org/index.php?project=nifti_clib).

Updates.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Updates in version 0.4 September 6, 2006
3232
-----------------------------------------------------------------
3333
Updates in version 0.5 May 17, 2007
3434

35-
- fixed duplication of incuding utils directory for CMake
36-
- syncronized with developments in ITK to prepare for building and
35+
- fixed duplication of including utils directory for CMake
36+
- synchronized with developments in ITK to prepare for building and
3737
tar/rpm/dmg packaging with new versions of cmake
3838
- added more typecasting to remove compiler warnings
3939
- fslio.c: check for NULL return from nifti_image_read()
@@ -136,4 +136,4 @@ Updated in version 3.0.0 July 16, 2020
136136
Updated in version 3.0.1 Aug 07, 2020
137137
- JL made fix for cmake config add example usage and a test for it
138138
- JL changed default behavior to not build manpages
139-
- RR made a fix for the make build and added a suggestion to use the cmake
139+
- RR made a fix for the make build and added a suggestion to use the cmake

cifti/afni_xml_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ static int64_t text_to_i64(int64_t * result, const char * text, int64_t nvals)
521521
int64_t * rptr, val;
522522
int64_t nread;
523523

524-
*result = 0; /* Initialize to zero incase of failure */
524+
*result = 0; /* Initialize to zero in case of failure */
525525
if( ! text || ! result) return 1;
526526
if( nvals <= 0 ) return 0;
527527

cifti/cifti_tool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int ax_show_names(FILE * fp, afni_xml_t * ax, int depth)
410410
}
411411

412412
/*----------------------------------------------------------------------
413-
*! display data in hexidecimal, on one line
413+
*! display data in hexadecimal, on one line
414414
*
415415
* if mesg is set, print the message first
416416
* if fp is not set, print to stdout

cmake/nifti_common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ while(NOT dashboard_done)
425425
dashboard_hook_test()
426426
endif()
427427
ctest_test(${CTEST_TEST_ARGS} RETURN_VALUE test_return)
428-
set(safe_message_skip 1) # Block furhter messages
428+
set(safe_message_skip 1) # Block further messages
429429

430430
if(dashboard_do_coverage)
431431
if(COMMAND dashboard_hook_coverage)

docs/Doxyfile.ORIG

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ STRIP_CODE_COMMENTS = YES
139139
# file names in lower case letters. If set to YES upper case letters are also
140140
# allowed. This is useful if you have classes or files whose names only differ
141141
# in case and if your file system supports case sensitive file names. Windows
142-
# users are adviced to set this option to NO.
142+
# users are advised to set this option to NO.
143143

144144
CASE_SENSE_NAMES = YES
145145

@@ -165,7 +165,7 @@ SHOW_INCLUDE_FILES = YES
165165
# will interpret the first line (until the first dot) of a JavaDoc-style
166166
# comment as the brief description. If set to NO, the JavaDoc
167167
# comments will behave just like the Qt-style comments (thus requiring an
168-
# explict @brief command for a brief description.
168+
# explicit @brief command for a brief description.
169169

170170
JAVADOC_AUTOBRIEF = NO
171171

@@ -410,7 +410,7 @@ DISABLE_INDEX = NO
410410

411411
ENUM_VALUES_PER_LINE = 4
412412

413-
# If the GENERATE_TREEVIEW tag is set to YES, a side pannel will be
413+
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
414414
# generated containing a tree-like index structure (just like the one that
415415
# is generated for HTML Help). For this to work a browser that supports
416416
# JavaScript and frames is required (for instance Netscape 4.0+
@@ -515,7 +515,7 @@ COMPACT_RTF = NO
515515
RTF_HYPERLINKS = NO
516516

517517
# Load stylesheet definitions from file. Syntax is similar to doxygen's
518-
# config file, i.e. a series of assigments. You only have to provide
518+
# config file, i.e. a series of assignments. You only have to provide
519519
# replacements, missing definitions are set to their default value.
520520

521521
RTF_STYLESHEET_FILE =

0 commit comments

Comments
 (0)