Browse Source

Don't use SystemDirsAppend on windows for finding the docs

TODO, yeet SystemDirsAppend entirely on Windows into the sun

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11589
7.0
Marek Roszko 3 years ago
parent
commit
5163cb6976
  1. 2
      common/searchhelpfilefullpath.cpp

2
common/searchhelpfilefullpath.cpp

@ -37,8 +37,10 @@ wxString SearchHelpFileFullPath( const wxString& aBaseName )
// help files are most likely located in the documentation install path
basePaths.Add( PATHS::GetDocumentationPath() );
#ifndef __WIN32__
// just in case, add all known system directories to the search stack
SystemDirsAppend( &basePaths );
#endif
#if defined( DEBUG )
basePaths.Show( wxString( __func__ ) + wxS( ": basePaths" ) );

Loading…
Cancel
Save