Merge pull request #1200 from GlOwl/patch-1

fixed printing/removing order
This commit is contained in:
Stefan Kremser 2020-01-06 13:16:35 +01:00 committed by GitHub
commit dfcae87af6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

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();
}
}