diff options
Diffstat (limited to 'plugins/Variables/src/parse_miranda.cpp')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index f1a1d753c0..da9874adad 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -598,9 +598,7 @@ static wchar_t* parseVersionString(ARGUMENTSINFO *ai) ai->flags |= AIF_DONTPARSE;
char versionString[128];
- if (CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM)sizeof(versionString), (LPARAM)versionString))
- return NULL;
-
+ Miranda_GetVersionText(versionString, sizeof(versionString));
return mir_a2u(versionString);
}
|