Blob Blame History Raw
From edb36ef77acf3c64b5bc1acfe106a2455c4589ee Mon Sep 17 00:00:00 2001
From: dghart <dghart@users.sourceforge.net>
Date: Sun, 13 Feb 2022 14:41:32 +0000
Subject: [PATCH] Prevent a wx build warning about wxPATH_NORM_ALL being
 deprecated

---
 Filetypes.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Filetypes.cpp b/Filetypes.cpp
index defb120..26c36a9 100644
--- a/Filetypes.cpp
+++ b/Filetypes.cpp
@@ -437,7 +437,7 @@ if (fpath.IsEmpty())                                          // If fpath is emp
   }
 
 wxFileName fn(fpath);                                         // Now use wxFileName's Normalize method to do the hard bit
-fn.Normalize(wxPATH_NORM_ALL, cwd);
+fn.Normalize(wxPATH_NORM_ENV_VARS | wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE, cwd);
 return fn.GetFullPath();
 }
 
-- 
2.37.2