diff options
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index a0d4427fa..b690f0ac9 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -211,11 +211,9 @@ static void PopupMainToolbMenu(Window *w, int widget, StringID string, int count } /** Enum for the Company Toolbar's network related buttons */ -enum { - CTMN_CLIENT_LIST = -1, ///< Show the client list - CTMN_NEW_COMPANY = -2, ///< Create a new company - CTMN_SPECTATE = -3, ///< Become spectator -}; +static const int CTMN_CLIENT_LIST = -1; ///< Show the client list +static const int CTMN_NEW_COMPANY = -2; ///< Create a new company +static const int CTMN_SPECTATE = -3; ///< Become spectator /** * Pop up a generic company list menu. |