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
a2c75829
Commit
a2c75829
authored
Aug 29, 2012
by
Lorenzo Marcantonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation with unicode (wxString to printf without GetChars)
parent
79d55c04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
pcb_parser.cpp
pcbnew/pcb_parser.cpp
+4
-2
No files found.
pcbnew/pcb_parser.cpp
View file @
a2c75829
...
...
@@ -472,7 +472,8 @@ void PCB_PARSER::parseGeneralSection() throw( IO_ERROR, PARSE_ERROR )
break
;
default
:
// Skip everything but the board thickness.
wxLogDebug
(
wxT
(
"Skipping general section token %s "
),
GetTokenString
(
token
)
);
wxLogDebug
(
wxT
(
"Skipping general section token %s "
),
GetChars
(
GetTokenString
(
token
)
)
);
while
(
(
token
=
NextTok
()
)
!=
T_RIGHT
)
{
...
...
@@ -1676,7 +1677,8 @@ TEXTE_MODULE* PCB_PARSER::parseTEXTE_MODULE() throw( IO_ERROR, PARSE_ERROR )
{
wxCHECK_MSG
(
CurTok
()
==
T_fp_text
,
NULL
,
wxString
::
Format
(
wxT
(
"Cannot parse %s as TEXTE_MODULE at line %d, offset %d."
),
GetTokenString
(
CurTok
()
),
CurLineNumber
(),
CurOffset
()
)
);
GetChars
(
GetTokenString
(
CurTok
()
)
),
CurLineNumber
(),
CurOffset
()
)
);
T
token
=
NextTok
();
...
...
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