summaryrefslogtreecommitdiff
path: root/kicad/delta.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-07 22:26:44 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-07 22:31:18 -0300
commit2a64264e445dd46121c1e966bbe1d2b44b29d33f (patch)
tree76dd5225c653bdb983a1c7b7a241fff5570086c7 /kicad/delta.c
parentdafe079f9bd26ee63e685db638d578236abd6eb3 (diff)
downloadeeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.gz
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.tar.bz2
eeshow-2a64264e445dd46121c1e966bbe1d2b44b29d33f.zip
fix numerous whitespace atrocities
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
Diffstat (limited to 'kicad/delta.c')
-rw-r--r--kicad/delta.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kicad/delta.c b/kicad/delta.c
index 35ed774..2b9a30a 100644
--- a/kicad/delta.c
+++ b/kicad/delta.c
@@ -272,9 +272,9 @@ static bool obj_eq(const struct sch_obj *a, const struct sch_obj *b,
switch (a->type) {
case sch_obj_junction:
- return 1;
+ return 1;
case sch_obj_noconn:
- return 1;
+ return 1;
case sch_obj_glabel:
case sch_obj_text:
if (a->u.text.fn != b->u.text.fn)
@@ -440,9 +440,9 @@ static void init_res(struct sheet *res)
res->title = NULL;
res->file = NULL;
res->path = NULL;
- res->objs = NULL;
- res->next_obj = &res->objs;
- res->next = NULL;
+ res->objs = NULL;
+ res->next_obj = &res->objs;
+ res->next = NULL;
}