Formatting.

This commit is contained in:
Jeff Young 2020-12-13 11:26:26 +00:00
parent 1db7ffad5e
commit e32686a80b
2 changed files with 14 additions and 15 deletions

View File

@ -22,8 +22,7 @@
#include <env_paths.h> #include <env_paths.h>
static bool normalizeAbsolutePaths( const wxFileName& aPathA, static bool normalizeAbsolutePaths( const wxFileName& aPathA, const wxFileName& aPathB,
const wxFileName& aPathB,
wxString* aResultPath ) wxString* aResultPath )
{ {
wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." ); wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." );

View File

@ -48,8 +48,8 @@ wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars
* @return Normalized full file path (path and file name) if succeeded or empty string if the * @return Normalized full file path (path and file name) if succeeded or empty string if the
* path could not be normalized. * path could not be normalized.
*/ */
wxString NormalizePath( wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars,
const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars, const wxString& aProjectPath ); const wxString& aProjectPath );
/** /**
* Searches the default paths trying to find one with the requested file. * Searches the default paths trying to find one with the requested file.
@ -60,8 +60,8 @@ wxString NormalizePath(
* @return Full path (apth and file name) if the file was found in one of the paths, otherwise * @return Full path (apth and file name) if the file was found in one of the paths, otherwise
* an empty string. * an empty string.
*/ */
wxString ResolveFile( wxString ResolveFile( const wxString& aFileName, const ENV_VAR_MAP* aEnvVars,
const wxString& aFileName, const ENV_VAR_MAP* aEnvVars, const PROJECT* aProject ); const PROJECT* aProject );
/** /**
* Checks if a given filename is within a given project directory (not whether it exists!) * Checks if a given filename is within a given project directory (not whether it exists!)