Hacking cosmetics

This commit is contained in:
Berke Viktor 2012-10-28 09:55:45 +01:00
parent 33cd1a2149
commit 52ad256474
1 changed files with 1 additions and 3 deletions

View File

@ -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)