From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/SystemDesign.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Stars45/SystemDesign.cpp') diff --git a/Stars45/SystemDesign.cpp b/Stars45/SystemDesign.cpp index 94d9cd8..6cc4e30 100644 --- a/Stars45/SystemDesign.cpp +++ b/Stars45/SystemDesign.cpp @@ -95,7 +95,7 @@ SystemDesign::Initialize(const char* filename) delete term; term = parser.ParseTerm(); - + if (term) { TermDef* def = term->isDef(); if (def) { @@ -107,7 +107,7 @@ SystemDesign::Initialize(const char* filename) else { TermStruct* val = def->term()->isStruct(); SystemDesign* design = new(__FILE__,__LINE__) SystemDesign; - + for (int i = 0; i < val->elements()->size(); i++) { TermDef* pdef = val->elements()->at(i)->isDef(); if (pdef) { @@ -120,7 +120,7 @@ SystemDesign::Initialize(const char* filename) else { TermStruct* val2 = pdef->term()->isStruct(); ComponentDesign* comp_design = new(__FILE__,__LINE__) ComponentDesign; - + for (int i = 0; i < val2->elements()->size(); i++) { TermDef* pdef2 = val2->elements()->at(i)->isDef(); if (pdef2) { @@ -156,7 +156,7 @@ SystemDesign::Initialize(const char* filename) catalog.append(design); } } - + else Print("WARNING: unknown definition '%s' in '%s'\n", def->name()->value().data(), filename); -- cgit v1.1