(svn r12173) -Cleanup: Minor codestyle fixes.

pull/155/head
peter1138 17 years ago
parent e826a69e46
commit 70aa24320e

@ -285,8 +285,11 @@ static bool ScanPathAddGrf(const char *filename)
/* Because there can be multiple grfs with the same name, make sure we checked all grfs with the same name,
* before inserting the entry. So insert a new grf at the end of all grfs with the same name, instead of
* just after the first with the same name. Avoids doubles in the list. */
if (strcasecmp(c->name, d->name) <= 0) stop = true;
else if (stop) break;
if (strcasecmp(c->name, d->name) <= 0) {
stop = true;
} else if (stop) {
break;
}
}
if (added) {
c->next = d;

Loading…
Cancel
Save