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
d4770044
Commit
d4770044
authored
Jan 16, 2015
by
unknown
Committed by
jean-pierre charras
Jan 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2 minor fixes.
parent
c27b2fbf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
cross-probing.cpp
eeschema/cross-probing.cpp
+1
-0
libedit.cpp
eeschema/libedit.cpp
+1
-1
No files found.
eeschema/cross-probing.cpp
View file @
d4770044
...
@@ -62,6 +62,7 @@ void SCH_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
...
@@ -62,6 +62,7 @@ void SCH_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
char
line
[
1024
];
char
line
[
1024
];
strncpy
(
line
,
cmdline
,
sizeof
(
line
)
-
1
);
strncpy
(
line
,
cmdline
,
sizeof
(
line
)
-
1
);
line
[
sizeof
(
line
)
-
1
]
=
'\0'
;
char
*
idcmd
=
strtok
(
line
,
"
\n\r
"
);
char
*
idcmd
=
strtok
(
line
,
"
\n\r
"
);
char
*
text
=
strtok
(
NULL
,
"
\"\n\r
"
);
char
*
text
=
strtok
(
NULL
,
"
\"\n\r
"
);
...
...
eeschema/libedit.cpp
View file @
d4770044
...
@@ -335,7 +335,7 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
...
@@ -335,7 +335,7 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
default_path
=
search
->
LastVisitedPath
();
default_path
=
search
->
LastVisitedPath
();
wxFileDialog
dlg
(
this
,
_
(
"Part Library Name:"
),
default_path
,
wxFileDialog
dlg
(
this
,
_
(
"Part Library Name:"
),
default_path
,
wxEmptyString
,
SchematicLibraryFile
Extension
,
wxEmptyString
,
SchematicLibraryFile
Wildcard
,
wxFD_SAVE
|
wxFD_OVERWRITE_PROMPT
);
wxFD_SAVE
|
wxFD_OVERWRITE_PROMPT
);
if
(
dlg
.
ShowModal
()
==
wxID_CANCEL
)
if
(
dlg
.
ShowModal
()
==
wxID_CANCEL
)
...
...
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