-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a draft, please improve.
- Loading branch information
Laurent Monin
committed
Apr 25, 2008
1 parent
74182a1
commit 23b9828
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Please keep the general coding style of Geeqie: | ||
|
||
Space after if, while and for: | ||
|
||
while (...) | ||
for (...) | ||
if (...) | ||
|
||
Indentation of {}: | ||
|
||
while (...) | ||
{ | ||
... | ||
} | ||
|
||
if (...) | ||
{ | ||
... | ||
} | ||
else | ||
{ | ||
... | ||
} | ||
|
||
Spaces around operators: | ||
|
||
i = 2; | ||
|
||
Space after comma: | ||
func(a, b, c); | ||
|
||
Use glib functions when possible (ie. g_ascii_isspace() instead of isspace()). | ||
Please use glib types when possible (ie. gint and gchar instead of int and char) | ||
. | ||
|
||
Check twice the indentation and spurious whitespaces. | ||
|