Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
4da2971d
Commit
4da2971d
authored
Aug 23, 2007
by
g_harland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide return values for Read_Hotkey_Config functions (to eliminate compiler-generated warnings)
parent
854e1e6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
eeconfig.cpp
eeschema/eeconfig.cpp
+2
-0
pcbcfg.cpp
pcbnew/pcbcfg.cpp
+3
-2
No files found.
eeschema/eeconfig.cpp
View file @
4da2971d
...
...
@@ -112,6 +112,8 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose )
FullFileName
+=
wxT
(
"libedit"
);
FullFileName
+=
DEFAULT_HOTKEY_FILENAME_EXT
;
frame
->
ReadHotkeyConfigFile
(
FullFileName
,
s_LibEdit_Hotkey_List
,
verbose
);
return
TRUE
;
}
...
...
pcbnew/pcbcfg.cpp
View file @
4da2971d
...
...
@@ -110,7 +110,7 @@ wxString FullFileName;
bool
Read_Hotkey_Config
(
WinEDA_DrawFrame
*
frame
,
bool
verbose
)
/***************************************************************/
/*
* Read the hotkey files config for
eeschema and lib
edit
* Read the hotkey files config for
pcbnew and module_
edit
*/
{
wxString
FullFileName
=
DEFAULT_HOTKEY_FILENAME_PATH
;
...
...
@@ -121,8 +121,9 @@ bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose )
FullFileName
+=
wxT
(
"module_edit"
);
FullFileName
+=
DEFAULT_HOTKEY_FILENAME_EXT
;
frame
->
ReadHotkeyConfigFile
(
FullFileName
,
s_module_edit_Hotkey_List
,
verbose
);
}
return
TRUE
;
}
/**************************************************************************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment