From 7bdea16b1fb6be0ae5e677fc6f0ea9babde29fca Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 4 Feb 2021 23:55:18 -0500 Subject: [PATCH] Always return a path if we can't normalize it Fix #7323 --- common/env_paths.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/env_paths.cpp b/common/env_paths.cpp index d4df557ef7..d2df3416fa 100644 --- a/common/env_paths.cpp +++ b/common/env_paths.cpp @@ -118,6 +118,10 @@ wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars normalizedFullPath += aFilePath.GetFullName(); } + else + { + normalizedFullPath = aFilePath.GetFullPath(); + } return normalizedFullPath; }