summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-11-19 18:29:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-11-19 18:29:42 -0800
commite1dbe924b53c541fdf238a5a722b7177d5c8760b (patch)
treecef637ee7849fac3160c668f88e0f761305f87d3 /src/fileio.c
parent7fb18e9ef9edb3b47cf463babe83922f9310a473 (diff)
downloademacs-e1dbe924b53c541fdf238a5a722b7177d5c8760b.tar.gz
Spelling fixes.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 54fc67e6631..e3586c50056 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -338,7 +338,7 @@ Given a Unix syntax file name, returns a string ending in slash. */)
while (p != beg && !IS_DIRECTORY_SEP (p[-1])
#ifdef DOS_NT
- /* only recognise drive specifier at the beginning */
+ /* only recognize drive specifier at the beginning */
&& !(p[-1] == ':'
/* handle the "/:d:foo" and "/:foo" cases correctly */
&& ((p == beg + 2 && !IS_DIRECTORY_SEP (*beg))
@@ -401,7 +401,7 @@ or the entire name if it contains no slash. */)
while (p != beg && !IS_DIRECTORY_SEP (p[-1])
#ifdef DOS_NT
- /* only recognise drive specifier at beginning */
+ /* only recognize drive specifier at beginning */
&& !(p[-1] == ':'
/* handle the "/:d:foo" case correctly */
&& (p == beg + 2 || (p == beg + 4 && IS_DIRECTORY_SEP (*beg))))