From a7c451708fbd3710b8f5042e19a19c1ff58c413b Mon Sep 17 00:00:00 2001 From: Margen67 Date: Fri, 16 Apr 2021 05:53:32 -1000 Subject: [PATCH] CONTRIBUTING.md: Remove whitespace --- CONTRIBUTING.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b085adeaa..c62a36b1e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,18 +55,18 @@ Enum values and `#define`s should be all caps with underscores. Good: static int _localVariable; - + struct LocalStruct { void (*methodName)(struct LocalStruct struct, param); - + int memberName; }; - + enum { ENUM_ITEM_1, ENUM_ITEM_2 }; - + void LocalStructCreate(struct LocalStruct* struct); void functionName(int argument); @@ -124,7 +124,7 @@ Bad (missing space): if (condition){ block; } - + ### Spacing Indentation should be done using tabs and should match the level of braces. Alignment within a line should be done sparingly, but only done with spaces. @@ -137,9 +137,9 @@ Good: #ifndef FILE_NAME_H #define FILE_NAME_H - + // Header - + #endif There should be no comment on the `#endif`.