mirror of https://github.com/OpenTTD/OpenTTD
Codechange: Apply coding style (#8640)
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove spacepull/8644/head
parent
5b3fe4ae27
commit
a4035af337
|
@ -741,8 +741,8 @@ public:
|
||||||
assert(vehgroup.NumVehicles() > 0);
|
assert(vehgroup.NumVehicles() > 0);
|
||||||
v = vehgroup.vehicles_begin[0];
|
v = vehgroup.vehicles_begin[0];
|
||||||
/*
|
/*
|
||||||
No VehicleClicked(v) support for now, because don't want
|
* No VehicleClicked(v) support for now, because don't want
|
||||||
to enable any contextual actions except perhaps clicking/ctrl-clicking to clone orders.
|
* to enable any contextual actions except perhaps clicking/ctrl-clicking to clone orders.
|
||||||
*/
|
*/
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1575,7 +1575,6 @@ void BaseVehicleListWindow::DrawVehicleListItems(VehicleID selected_vehicle, int
|
||||||
}
|
}
|
||||||
|
|
||||||
case GB_SHARED_ORDERS:
|
case GB_SHARED_ORDERS:
|
||||||
|
|
||||||
assert(vehgroup.NumVehicles() > 0);
|
assert(vehgroup.NumVehicles() > 0);
|
||||||
|
|
||||||
for (int i = 0; i < static_cast<int>(vehgroup.NumVehicles()); ++i) {
|
for (int i = 0; i < static_cast<int>(vehgroup.NumVehicles()); ++i) {
|
||||||
|
|
|
@ -524,7 +524,7 @@ static uint ConvertSdlKeycodeIntoMy(SDL_Keycode kc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check scancode for BACKQUOTE key, because we want the key left
|
/* check scancode for BACKQUOTE key, because we want the key left
|
||||||
of "1", not anything else (on non-US keyboards) */
|
* of "1", not anything else (on non-US keyboards) */
|
||||||
SDL_Scancode sc = SDL_GetScancodeFromKey(kc);
|
SDL_Scancode sc = SDL_GetScancodeFromKey(kc);
|
||||||
if (sc == SDL_SCANCODE_GRAVE) key = WKC_BACKQUOTE;
|
if (sc == SDL_SCANCODE_GRAVE) key = WKC_BACKQUOTE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue