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
f467074c
Commit
f467074c
authored
Jul 06, 2009
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forget to clean string after display of messagebox
parent
d1e44864
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
listlib.cpp
cvpcb/listlib.cpp
+2
-0
No files found.
cvpcb/listlib.cpp
View file @
f467074c
...
@@ -147,6 +147,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
...
@@ -147,6 +147,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString
message
=
_
(
"The following mdc files could not be found:
\n\n
"
);
wxString
message
=
_
(
"The following mdc files could not be found:
\n\n
"
);
message
+=
mdc_files_not_found
;
message
+=
mdc_files_not_found
;
wxMessageBox
(
message
,
_
(
"Load error!"
),
wxOK
|
wxICON_ERROR
);
wxMessageBox
(
message
,
_
(
"Load error!"
),
wxOK
|
wxICON_ERROR
);
mdc_files_not_found
=
wxT
(
""
);
}
}
/* Display if there are mdc files invalid */
/* Display if there are mdc files invalid */
...
@@ -155,6 +156,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
...
@@ -155,6 +156,7 @@ bool LoadFootprintFiles( const wxArrayString& libNames,
wxString
message
=
_
(
"The following mdc files are invalid:
\n\n
"
);
wxString
message
=
_
(
"The following mdc files are invalid:
\n\n
"
);
message
+=
mdc_files_invalid
;
message
+=
mdc_files_invalid
;
wxMessageBox
(
message
,
_
(
"Load error!"
),
wxOK
|
wxICON_ERROR
);
wxMessageBox
(
message
,
_
(
"Load error!"
),
wxOK
|
wxICON_ERROR
);
mdc_files_invalid
=
wxT
(
""
);
}
}
list
.
sort
();
list
.
sort
();
...
...
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