projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a22e8
)
Trim trailing spaces from key names when parsing
author
Robin Dunn
<robin@alldunn.com>
Tue, 2 Mar 2004 02:41:25 +0000
(
02:41
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Tue, 2 Mar 2004 02:41:25 +0000
(
02:41
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26022
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/fileconf.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/fileconf.cpp
b/src/common/fileconf.cpp
index 4dc63b3adaf21f01bdee824dba6d26fb756ae26e..e3af92c28a85860bdb6314d967e84f036c30b15e 100644
(file)
--- a/
src/common/fileconf.cpp
+++ b/
src/common/fileconf.cpp
@@
-677,7
+677,7
@@
void wxFileConfig::Parse(wxTextBuffer& buffer, bool bLocal)
pEnd++;
}
- wxString strKey(FilterInEntryName(wxString(pStart, pEnd)));
+ wxString strKey(FilterInEntryName(wxString(pStart, pEnd)
.Trim()
));
// skip whitespace
while ( wxIsspace(*pEnd) )