From 95812a6c79a121345b5db687e0b7ecd9f4a14a90 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 3 Sep 2009 05:27:49 +0000 Subject: [PATCH] Mark DecodePathMaybeRelative as depreciated this is a legacy function that's a pain and no longer required for 2.2 it needs to be removed eventually. Originally committed to SVN as r3473. --- aegisub/src/standard_paths.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/aegisub/src/standard_paths.cpp b/aegisub/src/standard_paths.cpp index 0ba035fdc..76522c52d 100644 --- a/aegisub/src/standard_paths.cpp +++ b/aegisub/src/standard_paths.cpp @@ -146,10 +146,11 @@ void StandardPaths::DoSetPathValue(const wxString &path, const wxString &value) -/// @brief Decode a path that for legacy reasons might be relative to another path -/// @param path -/// @param relativeTo -/// +/// @brief Decode a path that for legacy reasons might be relative to another path +/// @param path parent path. +/// @param relativeTo relative path. +/// @returns absolute path +/// @depreciated Older aegisub versions allowed people to put in single directory names w/out a full path this isn't an issue with 2.2 as preferences will be redone. wxString StandardPaths::DecodePathMaybeRelative(const wxString &path, const wxString &relativeTo) { wxFileName res(DecodePath(path)); if (res.IsRelative())