LIB_IDs can have forward slashes

This commit is contained in:
Jon Evans 2022-09-11 10:01:56 -04:00
parent 91358dfcac
commit b4e71de89f
1 changed files with 1 additions and 3 deletions

View File

@ -160,9 +160,7 @@ wxString EscapeString( const wxString& aSource, ESCAPE_CONTEXT aContext )
} }
else if( aContext == CTX_LIBID ) else if( aContext == CTX_LIBID )
{ {
if( c == '/' ) if( c == '\\' )
converted += wxT( "{slash}" );
else if( c == '\\' )
converted += wxT( "{backslash}" ); converted += wxT( "{backslash}" );
else if( c == '<' ) else if( c == '<' )
converted += wxT( "{lt}" ); converted += wxT( "{lt}" );