mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 03:19:10 +00:00
(svn r5609) CodeChange : Apply coding style
This commit is contained in:
@@ -366,9 +366,9 @@ static void OrderClick_Delete(Window* w, const Vehicle* v)
|
|||||||
DoCommandP(v->tile, v->index, OrderGetSel(w), NULL, CMD_DELETE_ORDER | CMD_MSG(STR_8834_CAN_T_DELETE_THIS_ORDER));
|
DoCommandP(v->tile, v->index, OrderGetSel(w), NULL, CMD_DELETE_ORDER | CMD_MSG(STR_8834_CAN_T_DELETE_THIS_ORDER));
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void OnButtonClick(Window* w, const Vehicle* v);
|
typedef void OnButtonVehClick(Window *w, const Vehicle *v);
|
||||||
|
|
||||||
static OnButtonClick* const _order_button_proc[] = {
|
static OnButtonVehClick* const _order_button_proc[] = {
|
||||||
OrderClick_Skip,
|
OrderClick_Skip,
|
||||||
OrderClick_Delete,
|
OrderClick_Delete,
|
||||||
OrderClick_Nonstop,
|
OrderClick_Nonstop,
|
||||||
|
Reference in New Issue
Block a user