From 9953595f973c461c2729e5a7cde9380a3d3d2c9a Mon Sep 17 00:00:00 2001 From: uqs Date: Fri, 30 Dec 2011 11:02:40 +0000 Subject: Spelling fixes for usr.bin/ --- usr.bin/indent/indent.c | 8 ++++---- usr.bin/indent/io.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/indent') 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; -- cgit v1.1