Provide return values for Read_Hotkey_Config functions (to eliminate compiler-generated warnings)

This commit is contained in:
g_harland 2007-08-23 01:40:50 +00:00
parent 854e1e6bd6
commit 4da2971dcc
2 changed files with 5 additions and 2 deletions

View File

@ -112,6 +112,8 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose )
FullFileName += wxT("libedit"); FullFileName += wxT("libedit");
FullFileName += DEFAULT_HOTKEY_FILENAME_EXT; FullFileName += DEFAULT_HOTKEY_FILENAME_EXT;
frame->ReadHotkeyConfigFile(FullFileName, s_LibEdit_Hotkey_List, verbose); frame->ReadHotkeyConfigFile(FullFileName, s_LibEdit_Hotkey_List, verbose);
return TRUE;
} }

View File

@ -110,7 +110,7 @@ wxString FullFileName;
bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose ) bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose )
/***************************************************************/ /***************************************************************/
/* /*
* Read the hotkey files config for eeschema and libedit * Read the hotkey files config for pcbnew and module_edit
*/ */
{ {
wxString FullFileName = DEFAULT_HOTKEY_FILENAME_PATH; wxString FullFileName = DEFAULT_HOTKEY_FILENAME_PATH;
@ -121,8 +121,9 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose )
FullFileName += wxT("module_edit"); FullFileName += wxT("module_edit");
FullFileName += DEFAULT_HOTKEY_FILENAME_EXT; FullFileName += DEFAULT_HOTKEY_FILENAME_EXT;
frame->ReadHotkeyConfigFile(FullFileName, s_module_edit_Hotkey_List, verbose); frame->ReadHotkeyConfigFile(FullFileName, s_module_edit_Hotkey_List, verbose);
}
return TRUE;
}
/**************************************************************************/ /**************************************************************************/