From b4e71de89f1cea037a2f0ec2b6cea895db658c26 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 11 Sep 2022 10:01:56 -0400 Subject: [PATCH] LIB_IDs can have forward slashes --- common/string_utils.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/string_utils.cpp b/common/string_utils.cpp index fb17369297..43dd32edfd 100644 --- a/common/string_utils.cpp +++ b/common/string_utils.cpp @@ -160,9 +160,7 @@ wxString EscapeString( const wxString& aSource, ESCAPE_CONTEXT aContext ) } else if( aContext == CTX_LIBID ) { - if( c == '/' ) - converted += wxT( "{slash}" ); - else if( c == '\\' ) + if( c == '\\' ) converted += wxT( "{backslash}" ); else if( c == '<' ) converted += wxT( "{lt}" );