On Mon, 16 Jan 2012 at 17:48:41 +0000, SJS wrote: > > And stylistically, I assert that it's clearer to write > > buffer[DOCK_NAME_LEN - 1] > > than > > buffer[DOCK_NAME_LEN -1] > > ...but that's just a pet peeve of mine, since I read "-1" as being "one less > than zero", so "-1" might as well be "5", or x. I can't be the only one who > does this...
Definitely. BTW, wmaker-crm follows the linux kernel coding style: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/CodingStyle;h=2b90d328b3ba5595c4f3a0e6bdc7c236346f550c;hb=HEAD and for this case, see line 206. -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.