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:
parent
ef8062bfad
commit
5163cb6976
|
@ -37,8 +37,10 @@ wxString SearchHelpFileFullPath( const wxString& aBaseName )
|
||||||
// help files are most likely located in the documentation install path
|
// help files are most likely located in the documentation install path
|
||||||
basePaths.Add( PATHS::GetDocumentationPath() );
|
basePaths.Add( PATHS::GetDocumentationPath() );
|
||||||
|
|
||||||
|
#ifndef __WIN32__
|
||||||
// just in case, add all known system directories to the search stack
|
// just in case, add all known system directories to the search stack
|
||||||
SystemDirsAppend( &basePaths );
|
SystemDirsAppend( &basePaths );
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined( DEBUG )
|
#if defined( DEBUG )
|
||||||
basePaths.Show( wxString( __func__ ) + wxS( ": basePaths" ) );
|
basePaths.Show( wxString( __func__ ) + wxS( ": basePaths" ) );
|
||||||
|
|
Loading…
Reference in New Issue