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:
parent
78b0765608
commit
95812a6c79
1 changed files with 5 additions and 4 deletions
|
@ -147,9 +147,10 @@ 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
|
||||
///
|
||||
/// @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())
|
||||
|
|
Loading…
Reference in a new issue