Mercurial > audlegacy
changeset 4417:f922499e69bc
Fix typos, etc.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 31 Mar 2008 09:32:45 -0500 |
parents | 2c3390afe10e |
children | 7df56e5ec76b |
files | HACKING |
diffstat | 1 files changed, 17 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/HACKING Mon Mar 31 17:21:21 2008 +0300 +++ b/HACKING Mon Mar 31 09:32:45 2008 -0500 @@ -1,11 +1,13 @@ Hacking / coding guide for Audacious and Audacious-plugins ========================================================== (C) Copyright 2008 Audacious Development Team -Written by Matti 'ccr' Hämäläinen <ccr@tnsp.org> +Written by Matti 'ccr' Hämäläinen <ccr@tnsp.org>, and mercilessly +edited by others. -Premeable -========= +Preamble +======== + This document describes the guidelines for people who wish to work on improving or cleaning up Audacious media player, or any of the plugins we distribute in the plugins package. @@ -78,7 +80,8 @@ - Indentation: Use the same indentation style (also spaces vs. tabs) as the file you are editing. In new files/code, use indentation of - 4 spaces (no tabs). + 4 spaces (no tabs). When moving functions to new files, PLEASE + reindent the code. - Whitespace usage in code: @@ -88,10 +91,16 @@ - Blocks: - while (...) { - do_something(...) + while (...) + { + do_something(...); } - if (...) { - } else { + if (...) + { + do_stuff(); } + else + { + do_other_stuff(); + }