summaryrefslogtreecommitdiff
path: root/plugins/mRadio/rglobal.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-21 22:00:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-21 22:00:16 +0000
commitb81ce648978e75bc7db4cc3b8aa7d1b9fcb9239b (patch)
treede3eb9058f630682a355ac5135b2efb60256b4ca /plugins/mRadio/rglobal.pas
parentff758bb8a00f34eb77fd385b18afea24388a915f (diff)
MS_UTILS_REPLACEVARS -> Utils_ReplaceVars
git-svn-id: http://svn.miranda-ng.org/main/trunk@14316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio/rglobal.pas')
-rw-r--r--plugins/mRadio/rglobal.pas6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/mRadio/rglobal.pas b/plugins/mRadio/rglobal.pas
index 07f3978dda..a6bccaa98f 100644
--- a/plugins/mRadio/rglobal.pas
+++ b/plugins/mRadio/rglobal.pas
@@ -226,15 +226,11 @@ end;
function GetDefaultRecPath:pWideChar;
var
- dat:TREPLACEVARSDATA;
mstr,szData:pWideChar;
buf:array [0..MAX_PATH-1] of WideChar;
begin
- FillChar(dat,SizeOf(dat),0);
- dat.cbSize :=SizeOf(TREPLACEVARSDATA);
- dat.dwFlags:=RVF_UNICODE;
szData:='%miranda_userdata%'+'\'+cPluginName;
- mstr:=pWideChar(CallService(MS_UTILS_REPLACEVARS, WPARAM(szData), LPARAM(@dat)));
+ mstr:=Utils_ReplaceVarsW(szData);
PathToRelativeW(mstr,buf);
StrDupW(result,buf);
mir_free(mstr);