From 62058240b11fc3aa6edb1d0e5500bbb1397ef368 Mon Sep 17 00:00:00 2001 From: CHARRAS <Unknown> Date: Thu, 20 Sep 2007 09:13:40 +0000 Subject: [PATCH] change erronous word Hothey to Hotkey in 2 function names --- common/hotkeys_basic.cpp | 4 ++-- eeschema/eeconfig.cpp | 4 ++-- eeschema/menubar.cpp | 2 +- gerbview/gerbview_config.cpp | 2 +- gerbview/tool_gerber.cpp | 2 +- include/hotkeys_basic.h | 4 ++-- pcbnew/menubarpcb.cpp | 2 +- pcbnew/pcbcfg.cpp | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/common/hotkeys_basic.cpp b/common/hotkeys_basic.cpp index ab6f1789e1..9ca1efa23d 100644 --- a/common/hotkeys_basic.cpp +++ b/common/hotkeys_basic.cpp @@ -594,7 +594,7 @@ wxString ReturnHotkeyConfigFilePath( int choice ) /***************************************/ -void AddHotheyConfigMenu( wxMenu* menu ) +void AddHotkeyConfigMenu( wxMenu* menu ) /***************************************/ /* add hotkey config options to a menu @@ -647,7 +647,7 @@ void AddHotheyConfigMenu( wxMenu* menu ) /************************************************************************/ -void HandleHotheyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ) +void HandleHotkeyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ) /************************************************************************/ /* called on hotkey file location selecton menu * @param frame = current WinEDA_DrawFrame diff --git a/eeschema/eeconfig.cpp b/eeschema/eeconfig.cpp index f1e566554f..1ea6b293df 100644 --- a/eeschema/eeconfig.cpp +++ b/eeschema/eeconfig.cpp @@ -1,6 +1,6 @@ /******************************************************/ /** eeconfig.cpp : routines et menus de configuration */ -/*******************************************************/ + /*******************************************************/ #include "fctsys.h" #include "common.h" @@ -100,7 +100,7 @@ wxString FullFileName; case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: - HandleHotheyConfigMenuSelection( this, id ); + HandleHotkeyConfigMenuSelection( this, id ); break; default: diff --git a/eeschema/menubar.cpp b/eeschema/menubar.cpp index 7fa72d4d3e..49172cab78 100644 --- a/eeschema/menubar.cpp +++ b/eeschema/menubar.cpp @@ -165,7 +165,7 @@ wxString msg; configmenu->Append(item); configmenu->AppendSeparator(); - AddHotheyConfigMenu( configmenu ); + AddHotkeyConfigMenu( configmenu ); // Menu Help: wxMenu *helpMenu = new wxMenu; diff --git a/gerbview/gerbview_config.cpp b/gerbview/gerbview_config.cpp index af736f2bf7..8e2a4e9471 100644 --- a/gerbview/gerbview_config.cpp +++ b/gerbview/gerbview_config.cpp @@ -69,7 +69,7 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: - HandleHotheyConfigMenuSelection( this, id ); + HandleHotkeyConfigMenuSelection( this, id ); break; default: diff --git a/gerbview/tool_gerber.cpp b/gerbview/tool_gerber.cpp index d1a1ab0d0b..e1f9ffc55c 100644 --- a/gerbview/tool_gerber.cpp +++ b/gerbview/tool_gerber.cpp @@ -124,7 +124,7 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void ) _( "Save application preferences" ), save_setup_xpm ); configmenu->AppendSeparator(); - AddHotheyConfigMenu( configmenu ); + AddHotkeyConfigMenu( configmenu ); // Menu drill ( generation fichiers percage) diff --git a/include/hotkeys_basic.h b/include/hotkeys_basic.h index 73ef076852..5a9bcdc505 100644 --- a/include/hotkeys_basic.h +++ b/include/hotkeys_basic.h @@ -91,8 +91,8 @@ COMMON_GLOBL int g_ConfigFileLocationChoice; /* 0 = files are in Home directo /* Functions: */ wxString ReturnHotkeyConfigFilePath( int choice ); -void AddHotheyConfigMenu( wxMenu* menu ); -void HandleHotheyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ); +void AddHotkeyConfigMenu( wxMenu* menu ); +void HandleHotkeyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ); wxString ReturnKeyNameFromKeyCode( int keycode ); wxString ReturnKeyNameFromCommandId( Ki_HotkeyInfo** List, int CommandId ); wxString AddHotkeyName( const wxString& text, Ki_HotkeyInfo** List, int CommandId ); diff --git a/pcbnew/menubarpcb.cpp b/pcbnew/menubarpcb.cpp index 872717400f..51702f0ff1 100644 --- a/pcbnew/menubarpcb.cpp +++ b/pcbnew/menubarpcb.cpp @@ -184,7 +184,7 @@ wxMenuBar * menuBar = GetMenuBar(); configmenu->Append(item); configmenu->AppendSeparator(); - AddHotheyConfigMenu( configmenu ); + AddHotkeyConfigMenu( configmenu ); ///////////////////////////// // Ajustage de dimensions: // diff --git a/pcbnew/pcbcfg.cpp b/pcbnew/pcbcfg.cpp index 67ac94e77e..a19cdb24cc 100644 --- a/pcbnew/pcbcfg.cpp +++ b/pcbnew/pcbcfg.cpp @@ -108,7 +108,7 @@ wxString FullFileName; case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: - HandleHotheyConfigMenuSelection( this, id ); + HandleHotkeyConfigMenuSelection( this, id ); break; default: