Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.

This commit is contained in:
J0an Josep
2017-08-15 17:56:34 +02:00
committed by frosch
parent 3f40cd505d
commit cfb8092397
10 changed files with 15 additions and 15 deletions

View File

@@ -1033,8 +1033,8 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
break;
}
/* With double click, continue */
FALLTHROUGH;
}
FALLTHROUGH;
case WID_NS_REMOVE: { // Remove GRF
if (this->active_sel == NULL || !this->editable) break;
@@ -1089,8 +1089,8 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
break;
}
/* With double click, continue */
FALLTHROUGH;
}
FALLTHROUGH;
case WID_NS_ADD:
if (this->avail_sel == NULL || !this->editable || HasBit(this->avail_sel->flags, GCF_INVALID)) break;