diff options
Diffstat (limited to 'plugins/NewAwaySysMod/src/Path.h')
-rw-r--r-- | plugins/NewAwaySysMod/src/Path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewAwaySysMod/src/Path.h b/plugins/NewAwaySysMod/src/Path.h index e108a919e5..176f08bad7 100644 --- a/plugins/NewAwaySysMod/src/Path.h +++ b/plugins/NewAwaySysMod/src/Path.h @@ -27,7 +27,7 @@ __inline TCString Path_ToRelative(TCString &Path) {
TCString Str;
Str.GetBuffer(MAX_PATH);
- CallService(MS_UTILS_PATHTORELATIVET, (WPARAM)(TCHAR*)Path, (LPARAM)(TCHAR*)Str);
+ PathToRelativeT(Path, Str);
Str.ReleaseBuffer();
return Str;
}
@@ -37,7 +37,7 @@ __inline TCString Path_ToAbsolute(TCString &Path) {
TCString Str;
Str.GetBuffer(MAX_PATH);
- CallService(MS_UTILS_PATHTOABSOLUTET, (WPARAM)(TCHAR*)Path, (LPARAM)(TCHAR*)Str);
+ PathToAbsoluteT(Path, Str);
Str.ReleaseBuffer();
return Str;
}
|