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
b5019b82
Commit
b5019b82
authored
Oct 14, 2010
by
Martijn Kuipers
Committed by
jean-pierre charras
Oct 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxLOCALE_LOAD_DEFAULT patch from Martijn Kuipers.
parent
6b05cf31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
edaappl.cpp
common/edaappl.cpp
+2
-3
editrack.cpp
pcbnew/editrack.cpp
+2
-1
No files found.
common/edaappl.cpp
View file @
b5019b82
...
...
@@ -666,10 +666,9 @@ bool WinEDA_App::SetLanguage( bool first_time )
delete
m_Locale
;
m_Locale
=
new
wxLocale
;
if
(
!
m_Locale
->
Init
(
m_LanguageId
,
wxLOCALE_CONV_ENCODING
)
)
if
(
!
m_Locale
->
Init
(
m_LanguageId
)
)
{
wxLogDebug
(
wxT
(
"Failed to initialize "
)
+
wxLocale
::
GetLanguageInfo
(
m_LanguageId
)
->
Description
);
wxLogDebug
(
wxT
(
"This language is not supported by the system."
)
);
m_LanguageId
=
wxLANGUAGE_DEFAULT
;
delete
m_Locale
;
...
...
pcbnew/editrack.cpp
View file @
b5019b82
...
...
@@ -720,7 +720,8 @@ void ShowNewTrackWhenMovingCursor( WinEDA_DrawPanel* panel,
// Set track parameters, that can be modified while creating the track
g_CurrentTrackSegment
->
SetLayer
(
screen
->
m_Active_Layer
);
g_CurrentTrackSegment
->
m_Width
=
frame
->
GetBoard
()
->
GetCurrentTrackWidth
();
if
(
!
frame
->
GetBoard
()
->
GetBoardDesignSettings
()
->
m_UseConnectedTrackWidth
)
g_CurrentTrackSegment
->
m_Width
=
frame
->
GetBoard
()
->
GetCurrentTrackWidth
();
if
(
g_TwoSegmentTrackBuild
)
{
...
...
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