// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
+
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__
+#if wxUSE_CONFIG
+
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/intl.h"
}
else { // a key
const wxChar *pEnd = pStart;
- while ( !wxIsspace(*pEnd) ) {
+ while ( *pEnd != _T('=') && !wxIsspace(*pEnd) ) {
if ( *pEnd == _T('\\') ) {
// next character may be space or not - still take it because it's
// quoted
if ( bUser ) {
wxString strVal = FilterOutValue(strValue);
wxString strLine;
- strLine << FilterOutEntryName(m_strName) << _T(" = ") << strVal;
+ strLine << FilterOutEntryName(m_strName) << _T('=') << strVal;
if ( m_pLine != NULL ) {
// entry was read from the local config file, just modify the line
else
return appName;
}
+
+#endif // wxUSE_CONFIG
+