summary refs log tree commit diff stats
path: root/share/doc
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-28 09:58:09 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-28 09:58:09 +0100
commitfe6bda343b10909d9f5b6a3e1ac4b232f1875411 (patch)
treecb861f027885c5e1e3e483090d448d0bd9e1e0c4 /share/doc
parent52ad2564742f91cca214b3f42853a58539b6bb13 (diff)
More hacking cosmetics
Diffstat (limited to 'share/doc')
-rw-r--r--share/doc/hacking.md14
1 files 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.):
 
-<pre>void
-routine (void)
-{
-	if (function (a, b, c))
+	<pre>void
+	routine (void)
 	{
-		x = a + 1;
-	}
-}</pre>
+		if (function (a, b, c))
+		{
+			x = a + 1;
+		}
+	}</pre>
 
 * Don't use "//" C++ style comments, some compilers don't like them.