fixed printing/removing order

This commit is contained in:
GlOwl
2020-01-05 22:41:19 +01:00
committed by GitHub
parent fda01a6486
commit 0944a56cc2

View File

@@ -254,9 +254,10 @@ void Stations::deselect(int num) {
void Stations::remove(int num) {
if (!check(num)) return;
internal_remove(num);
prnt(ST_REMOVED_STATION);
prntln(num);
internal_remove(num);
changed = true;
}
@@ -364,4 +365,4 @@ void Stations::internal_removeAll() {
free(getTime(i));
}
list->clear();
}
}