diff -r 168d3add1f13 -r b0f13039bda2 src/autoreplace_cmd.cpp --- a/src/autoreplace_cmd.cpp Wed Apr 18 18:37:40 2007 +0000 +++ b/src/autoreplace_cmd.cpp Wed Apr 18 22:10:36 2007 +0000 @@ -137,7 +137,7 @@ /* Now we found a cargo type being carried on the train and we will see if it is possible to carry to this one */ if (v->cargo_type == new_cargo_type) return CT_NO_REFIT; if (CanRefitTo(engine_type, v->cargo_type)) return v->cargo_type; - } while ((v=v->next) != NULL); + } while ((v = v->next) != NULL); return CT_NO_REFIT; // We failed to find a cargo type on the old vehicle and we will not refit the new one }