mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
More hacking cosmetics
This commit is contained in:
parent
52ad256474
commit
fe6bda343b
@ -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.):
|
* Try to stick to the same consistant coding style (vertically aligned braces, a space after if, while, functions etc.):
|
||||||
|
|
||||||
<pre>void
|
<pre>void
|
||||||
routine (void)
|
routine (void)
|
||||||
{
|
|
||||||
if (function (a, b, c))
|
|
||||||
{
|
{
|
||||||
x = a + 1;
|
if (function (a, b, c))
|
||||||
}
|
{
|
||||||
}</pre>
|
x = a + 1;
|
||||||
|
}
|
||||||
|
}</pre>
|
||||||
|
|
||||||
* Don't use "//" C++ style comments, some compilers don't like them.
|
* Don't use "//" C++ style comments, some compilers don't like them.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user