# HG changeset patch # User belugas # Date 1214583395 0 # Node ID 21dfdfd9f70ac018a0e9afb9f0b12c6a587dec1b # Parent 3c315ff5f36a40b431fd3c6ff423ad129428ecda (svn r13646) -Change: typos and miss-aligned enum values diff -r 3c315ff5f36a -r 21dfdfd9f70a src/toolbar_gui.cpp --- a/src/toolbar_gui.cpp Fri Jun 27 15:01:18 2008 +0000 +++ b/src/toolbar_gui.cpp Fri Jun 27 16:16:35 2008 +0000 @@ -55,7 +55,7 @@ /** This enum gathers properties of both toolbars */ enum ToolBarProperties { TBP_BUTTONWIDTH = 22, ///< width of a button - TBP_BUTTONHEIGHT = 22, ///< height of a button, but hwight of the toolbar too + TBP_BUTTONHEIGHT = 22, ///< height of a button as well as the toolbars TBP_DATEPANELWIDTH = 130, ///< used in scenario editor to calculate width of the toolbar. TBP_TOOLBAR_MINBUTTON = 14, ///< references both toolbars @@ -123,7 +123,7 @@ /** The idea of this enum is to allow a separation between widget position * and _menu_clicked_procs's entry. By shifting, the "action" id is extracted and - * kept safe for usage when reuired. + * kept safe for usage when required. * @see ToolbarMenuWindow::OnMouseLoop */ enum ScenarioEditorMenuActions { SEMA_MAP_CLICK = 17 << 8, @@ -308,8 +308,8 @@ MME_SHOW_EXTRAVIEWPORTS, MME_SHOW_SIGNLISTS, MME_SHOW_TOWNDIRECTORY, ///< This entry is only used in Editor mode - MME_MENUCOUNT_NORMAL = 3, - MME_MENUCOUNT_EDITOR = 4, + MME_MENUCOUNT_NORMAL = 3, + MME_MENUCOUNT_EDITOR = 4, }; static void ToolbarMapClick(Window *w)