From 52ad2564742f91cca214b3f42853a58539b6bb13 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 28 Oct 2012 09:55:45 +0100 Subject: [PATCH] Hacking cosmetics --- share/doc/hacking.md | 4 +--- 1 file changed, 1 insertion(+), 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.):
void
 routine (void)
@@ -18,8 +18,6 @@ routine (void)
 	}
 }
- (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)