diff --git a/3d-viewer/3d_cache/3d_filename_resolver.cpp b/3d-viewer/3d_cache/3d_filename_resolver.cpp index aef1191f01..8b175ad641 100644 --- a/3d-viewer/3d_cache/3d_filename_resolver.cpp +++ b/3d-viewer/3d_cache/3d_filename_resolver.cpp @@ -352,7 +352,7 @@ wxString S3D_FILENAME_RESOLVER::ResolvePath( const wxString& aFileName ) m_errflags |= ERRFLG_ALIAS; wxString errmsg = _( "No such path; ensure the path alias is defined" ); errmsg.append( "\n" ); - errmsg.append( tname ); + errmsg.append( tname.substr( 1 ) ); wxMessageBox( errmsg, _( "3D file resolver" ) ); }