From 81f95a8dbcbf866e1ff3e3c735ecf737f1a87f7e Mon Sep 17 00:00:00 2001 From: Cirilo Bernardo Date: Sat, 23 Jan 2016 16:09:42 +1100 Subject: [PATCH] Improve message displayed when resolver encounters a non-existent alias --- 3d-viewer/3d_cache/3d_filename_resolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ) ); }