aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-07-05 22:19:21 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-07-05 22:19:21 +0000
commit2292bb6c968a6239c5a6b58406fe170c2b1b60ff (patch)
treeac0ed8849a33c5454d9b178a60b5a47e7706bf92 /docs
parentaefb6f5beeef52d3fa1c12963092231ac6483df6 (diff)
downloadbusybox-w32-2292bb6c968a6239c5a6b58406fe170c2b1b60ff.tar.gz
busybox-w32-2292bb6c968a6239c5a6b58406fe170c2b1b60ff.tar.bz2
busybox-w32-2292bb6c968a6239c5a6b58406fe170c2b1b60ff.zip
fixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo
git-svn-id: svn://busybox.net/trunk/busybox@15648 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
-rw-r--r--docs/style-guide.txt16
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
52multi-line comments that use an asterisk at the beginning of each line, i.e.: 52multi-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
62Furthermore, The preference is that tabs be set to display at four spaces 62Furthermore, The preference is that tabs be set to display at four spaces
63wide, but the beauty of using only tabs (and not spaces) at the beginning of 63wide, 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
620Furthermore, you should put a single comment (not necessarily one line, just 620Furthermore, you should put a single comment (not necessarily one line, just
621one comment) before the block, rather than commenting each and every line. 621one comment) before the block, rather than commenting each and every line.
622There is an optimal ammount of commenting that a program can have; you can 622There is an optimal amount of commenting that a program can have; you can
623comment too much as well as too little. 623comment too much as well as too little.
624 624
625A picture is really worth a thousand words here, the following example 625A picture is really worth a thousand words here, the following example