summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-07-04 12:06:33 +0000
committeryexo <yexo@openttd.org>2010-07-04 12:06:33 +0000
commit17ef1a2336b09eb9b727d4ef601e653038fde568 (patch)
tree55d823489731e51f1c886c1110d0d3132e35589f /src
parent699763720814dc73d08d64d838f0d37ea2ff01ba (diff)
downloadopenttd-17ef1a2336b09eb9b727d4ef601e653038fde568.tar.xz
(svn r20076) -Fix (r20073): hotkeys for the road toolbar were not stored in hotkeys.cfg
Diffstat (limited to 'src')
-rw-r--r--src/hotkeys.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp
index df89fdb62..7042f91b6 100644
--- a/src/hotkeys.cpp
+++ b/src/hotkeys.cpp
@@ -238,14 +238,15 @@ void SaveLoadHotkeyGroup(IniGroup *group, T *hotkey_list, bool save)
}
struct MainWindow;
+struct MainToolbarWindow;
+struct ScenarioEditorToolbarWindow;
struct TerraformToolbarWindow;
struct ScenarioEditorLandscapeGenerationWindow;
struct OrdersWindow;
struct BuildAirToolbarWindow;
struct BuildDocksToolbarWindow;
-struct MainToolbarWindow;
-struct ScenarioEditorToolbarWindow;
struct BuildRailToolbarWindow;
+struct BuildRoadToolbarWindow;
static void SaveLoadHotkeys(bool save)
{
@@ -260,14 +261,15 @@ static void SaveLoadHotkeys(bool save)
SaveLoadHotkeyGroup(group, _##name##_hotkeys, save);
SL_HOTKEYS(global, MainWindow);
+ SL_HOTKEYS(maintoolbar, MainToolbarWindow);
+ SL_HOTKEYS(scenedit_maintoolbar, ScenarioEditorToolbarWindow);
SL_HOTKEYS(terraform, TerraformToolbarWindow);
SL_HOTKEYS(terraform_editor, ScenarioEditorLandscapeGenerationWindow);
SL_HOTKEYS(order, OrdersWindow);
SL_HOTKEYS(airtoolbar, BuildAirToolbarWindow);
SL_HOTKEYS(dockstoolbar, BuildDocksToolbarWindow);
- SL_HOTKEYS(maintoolbar, MainToolbarWindow);
SL_HOTKEYS(railtoolbar, BuildRailToolbarWindow);
- SL_HOTKEYS(scenedit_maintoolbar, ScenarioEditorToolbarWindow);
+ SL_HOTKEYS(roadtoolbar, BuildRoadToolbarWindow);
#undef SL_HOTKEYS