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
This commit is contained in:
Marek Roszko 2023-01-29 20:50:05 -05:00
parent ef8062bfad
commit 5163cb6976
1 changed files with 2 additions and 0 deletions

View File

@ -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" ) );