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
83e43993
Commit
83e43993
authored
Dec 21, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compil issue on Linux
parent
e4a74213
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
webviewer.cpp
webviewer/webviewer.cpp
+2
-1
No files found.
webviewer/webviewer.cpp
View file @
83e43993
...
...
@@ -739,7 +739,7 @@ void WEB_NAVIGATOR::OnFindText( wxCommandEvent& evt )
// On windows, for an unknwon reason (bug ?) some texts in some
// html pages hang the search.
// Waiting for 2 chars before starting a search reduces the risk
// (but the
hang
still exists)
// (but the
risk
still exists)
#ifdef __WINDOWS__
#define MIN_CHAR_CNT 2
if
(
find_text
.
Length
()
>=
MIN_CHAR_CNT
)
...
...
@@ -747,6 +747,7 @@ void WEB_NAVIGATOR::OnFindText( wxCommandEvent& evt )
else
// Reset search
m_browser
->
Find
(
wxEmptyString
,
flags
);
#else
#define MIN_CHAR_CNT 1
count
=
m_browser
->
Find
(
find_text
,
flags
);
#endif
...
...
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