diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-05 22:19:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-05 22:19:21 +0000 |
commit | 434ccd97391ea707c85392c2c00faa57b4d8c6df (patch) | |
tree | ac0ed8849a33c5454d9b178a60b5a47e7706bf92 | |
parent | cf5b80ba322df0ba630accf9cac13ef239e1cd7b (diff) | |
download | busybox-w32-434ccd97391ea707c85392c2c00faa57b4d8c6df.tar.gz busybox-w32-434ccd97391ea707c85392c2c00faa57b4d8c6df.tar.bz2 busybox-w32-434ccd97391ea707c85392c2c00faa57b4d8c6df.zip |
fixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo
-rw-r--r-- | docs/style-guide.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 71eb62914..ba0cdbaa4 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt | |||
@@ -51,13 +51,13 @@ indentation style in the Apache and Postfix source does this sort of thing: | |||
51 | \s\s\s\sif (expr) {\n\tstmt; --ick.) The only exception to this rule is | 51 | \s\s\s\sif (expr) {\n\tstmt; --ick.) The only exception to this rule is |
52 | multi-line comments that use an asterisk at the beginning of each line, i.e.: | 52 | multi-line comments that use an asterisk at the beginning of each line, i.e.: |
53 | 53 | ||
54 | /t/* | 54 | \t/* |
55 | /t * This is a block comment. | 55 | \t * This is a block comment. |
56 | /t * Note that it has multiple lines | 56 | \t * Note that it has multiple lines |
57 | /t * and that the beginning of each line has a tab plus a space | 57 | \t * and that the beginning of each line has a tab plus a space |
58 | /t * except for the opening '/*' line where the slash | 58 | \t * except for the opening '/*' line where the slash |
59 | /t * is used instead of a space. | 59 | \t * is used instead of a space. |
60 | /t */ | 60 | \t */ |
61 | 61 | ||
62 | Furthermore, The preference is that tabs be set to display at four spaces | 62 | Furthermore, The preference is that tabs be set to display at four spaces |
63 | wide, but the beauty of using only tabs (and not spaces) at the beginning of | 63 | wide, but the beauty of using only tabs (and not spaces) at the beginning of |
@@ -619,7 +619,7 @@ begin with a C keyword, but not always. | |||
619 | 619 | ||
620 | Furthermore, you should put a single comment (not necessarily one line, just | 620 | Furthermore, you should put a single comment (not necessarily one line, just |
621 | one comment) before the block, rather than commenting each and every line. | 621 | one comment) before the block, rather than commenting each and every line. |
622 | There is an optimal ammount of commenting that a program can have; you can | 622 | There is an optimal amount of commenting that a program can have; you can |
623 | comment too much as well as too little. | 623 | comment too much as well as too little. |
624 | 624 | ||
625 | A picture is really worth a thousand words here, the following example | 625 | A picture is really worth a thousand words here, the following example |