summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
commit9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch)
treed145ece02284bd86561f373fcb369e260154153b /usr.bin/indent
parentf4753a04d4771c2013dc576b6455d28c5e64e93e (diff)
downloadFreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip
FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/indent.c8
-rw-r--r--usr.bin/indent/io.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c
index 161a758..3035faa 100644
--- a/usr.bin/indent/indent.c
+++ b/usr.bin/indent/indent.c
@@ -326,7 +326,7 @@ main(int argc, char **argv)
case lbrace: /* this is a brace that starts the compound
* stmt */
- if (sc_end == 0) { /* ignore buffering if a comment wasnt
+ if (sc_end == 0) { /* ignore buffering if a comment wasn't
* stored up */
ps.search_brace = false;
goto check_type;
@@ -384,7 +384,7 @@ main(int argc, char **argv)
&& e_code != s_code && e_code[-1] == '}'))
force_nl = false;
- if (sc_end == 0) { /* ignore buffering if comment wasnt
+ if (sc_end == 0) { /* ignore buffering if comment wasn't
* saved up */
ps.search_brace = false;
goto check_type;
@@ -794,8 +794,8 @@ check_type:
/* ? dec_ind = 0; */
}
else {
- ps.decl_on_line = false; /* we cant be in the middle of
- * a declaration, so dont do
+ ps.decl_on_line = false; /* we can't be in the middle of
+ * a declaration, so don't do
* special indentation of
* comments */
if (blanklines_after_declarations_at_proctop
diff --git a/usr.bin/indent/io.c b/usr.bin/indent/io.c
index dda6265..4a3db83 100644
--- a/usr.bin/indent/io.c
+++ b/usr.bin/indent/io.c
@@ -232,7 +232,7 @@ dump_line(void)
target = ((target - 1) & ~7) + 9, com_st++;
else
target = 1;
- if (cur_col > target) { /* if comment cant fit on this line,
+ if (cur_col > target) { /* if comment can't fit on this line,
* put it on next line */
putc('\n', output);
cur_col = 1;
OpenPOWER on IntegriCloud