From aadbaaf7afabacb67a23e4868b5f0f47b8d9e48b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 12 Apr 2007 20:51:53 +0000 Subject: Updated coding standard git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1069 4979c152-3d1c-0410-bac9-87ea11338e46 --- doc/coding-standard.pdf | Bin 44552 -> 42850 bytes doc/coding-standard.tex | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/coding-standard.pdf b/doc/coding-standard.pdf index ec407ccf..78a0420b 100644 Binary files a/doc/coding-standard.pdf and b/doc/coding-standard.pdf differ diff --git a/doc/coding-standard.tex b/doc/coding-standard.tex index 23cf445e..dd38e1ba 100644 --- a/doc/coding-standard.tex +++ b/doc/coding-standard.tex @@ -26,8 +26,8 @@ data structure entity may be grouped together even if each run may touch only a small part of the code so that these functions can be maintained together in a logical way. -Nested blocks of code should be indented with a single tab. This way, -programmers can adjust the tab width of their editors to their preferences. +Nested blocks of code should be indented with a single 4 spaces. Tabs are OK, +but before release, a single commit will be made using perltidy -i=4. Lines longer than 79 characters are not handled well by many terminals and should generally be avoided. Continued lines should be indented by one more tab -- cgit v1.2.3