diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/doc/hacking.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/share/doc/hacking.md b/share/doc/hacking.md index bf060531..24c0354d 100644 --- a/share/doc/hacking.md +++ b/share/doc/hacking.md @@ -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) |