Hacking cosmetics
This commit is contained in:
parent
33cd1a2149
commit
52ad256474
@ -7,7 +7,7 @@ Just some tips if you're going to help with HexChat code (patches etc):
|
||||
* Use a tab size of 3 (most editors will let you choose this).
|
||||
Type :set ts=3 in vim/gvim.
|
||||
|
||||
* Try to stick to the same consistant coding style:
|
||||
* Try to stick to the same consistant coding style (vertically aligned braces, a space after if, while, functions etc.):
|
||||
|
||||
<pre>void
|
||||
routine (void)
|
||||
@ -18,8 +18,6 @@ routine (void)
|
||||
}
|
||||
}</pre>
|
||||
|
||||
(vertically aligned braces, a space after if, while, functions etc).
|
||||
|
||||
* Don't use "//" C++ style comments, some compilers don't like them.
|
||||
|
||||
* When opening a file with Unix level functions (open, read/write, close)
|
||||
|
Loading…
Reference in New Issue
Block a user