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.
This commit is contained in:
Amar Takhar 2009-09-03 05:27:49 +00:00
parent 78b0765608
commit 95812a6c79

View file

@ -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 /// @brief Decode a path that for legacy reasons might be relative to another path
/// @param path /// @param path parent path.
/// @param relativeTo /// @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) { wxString StandardPaths::DecodePathMaybeRelative(const wxString &path, const wxString &relativeTo) {
wxFileName res(DecodePath(path)); wxFileName res(DecodePath(path));
if (res.IsRelative()) if (res.IsRelative())