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
f49d2e32
Commit
f49d2e32
authored
Jul 08, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc update.
parent
3bbeec12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
eda_doc.cpp
common/eda_doc.cpp
+0
-2
gestfich.cpp
common/gestfich.cpp
+5
-3
No files found.
common/eda_doc.cpp
View file @
f49d2e32
...
...
@@ -154,14 +154,12 @@ bool GetAssociatedDocument( wxFrame* frame, const wxString& LibPath,
wxFileName
CurrentFileName
(
fullfilename
);
file_ext
=
CurrentFileName
.
GetExt
();
if
(
file_ext
==
wxT
(
"pdf"
)
)
{
success
=
OpenPDF
(
fullfilename
);
return
success
;
}
/* Try to launch some browser (usefull under linux) */
wxFileType
*
filetype
;
...
...
common/gestfich.cpp
View file @
f49d2e32
...
...
@@ -737,13 +737,15 @@ bool OpenPDF( const wxString& file )
if
(
success
&&
!
command
.
IsEmpty
()
)
{
success
=
ProcessExecute
(
command
);
if
(
success
)
return
success
;
}
else
success
=
false
;
command
.
Empty
();
if
(
!
success
)
{
command
.
Empty
();
#ifndef __WINDOWS__
AddDelimiterString
(
filename
);
/* here is a list of PDF viewers candidates */
...
...
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