Browse Source

Don't try and convert legacy empty-string tokens to overbar syntax.

6.0.7
Jeff Young 5 years ago
parent
commit
d044e6fed3
  1. 4
      common/string.cpp

4
common/string.cpp

@ -46,6 +46,10 @@ wxString ConvertToNewOverbarNotation( const wxString& aOldStr )
wxString newStr;
bool inOverbar = false;
// Don't get tripped up by the legacy empty-string token.
if( aOldStr == "~" )
return aOldStr;
for( wxString::const_iterator chIt = aOldStr.begin(); chIt != aOldStr.end(); ++chIt )
{
if( *chIt == '~' )

Loading…
Cancel
Save