From fe6bda343b10909d9f5b6a3e1ac4b232f1875411 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 28 Oct 2012 09:58:09 +0100 Subject: [PATCH] More hacking cosmetics --- share/doc/hacking.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/share/doc/hacking.md b/share/doc/hacking.md index 24c0354d..68badd71 100644 --- a/share/doc/hacking.md +++ b/share/doc/hacking.md @@ -9,14 +9,14 @@ Just some tips if you're going to help with HexChat code (patches etc): * Try to stick to the same consistant coding style (vertically aligned braces, a space after if, while, functions etc.): -
void
-routine (void)
-{
-	if (function (a, b, c))
+	
void
+	routine (void)
 	{
-		x = a + 1;
-	}
-}
+ if (function (a, b, c)) + { + x = a + 1; + } + }
* Don't use "//" C++ style comments, some compilers don't like them.