From 26b8fe7f8b784b156c600006e006110962d1c79c Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 5 Nov 2007 20:11:25 +0000 Subject: Modify HACKING file to reflect changes in default indent style. svn path=/trunk/; revision=7634 --- HACKING | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index 0e6030da4..db83fb6c6 100644 --- a/HACKING +++ b/HACKING @@ -4,11 +4,14 @@ need to stick to in order to get your patch accepted: - use 2-space no-tabs for indentation (mandatory on new files, old ones will be re-indented eventually. When modifying an existing file with 8-space indentation keep the old style please) -- curly brackets are on a new line +- Use K&R style for the braces - please compare with NULL or FALSE isntead of using "!" - callback functions have a suffix _cb - all files have to be encoded in UTF-8 +- data/kr-gnome-indent.cfg is provided as a reference config file for the + uncrustify program to get correct indentation in new files. + Comment blocks are written like this: /* -- cgit v1.2.3