diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-28 09:55:45 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-28 09:55:45 +0100 |
commit | 52ad2564742f91cca214b3f42853a58539b6bb13 (patch) | |
tree | 37e8e37b266b73797cb80c0c4e631ef0c0f13e14 /share | |
parent | 33cd1a214971a34eb92d3d182b77f891fa12feea (diff) |
Hacking cosmetics
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) |