From 1d9dd615e5f1a43d3b78f37b5aaae836dfac1c4d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 May 2012 14:47:04 +0000 Subject: - plugin converted to Unicode - old bug fixed with the profile path git-svn-id: http://svn.miranda-ng.org/main/trunk@182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Svc_vi/hooked_events.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Svc_vi/hooked_events.cpp') diff --git a/plugins/Svc_vi/hooked_events.cpp b/plugins/Svc_vi/hooked_events.cpp index b87fa355df..960147bbb9 100644 --- a/plugins/Svc_vi/hooked_events.cpp +++ b/plugins/Svc_vi/hooked_events.cpp @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "common.h" #include "hooked_events.h" HANDLE hModulesLoaded; @@ -67,7 +68,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) bFoldersAvailable = ServiceExists(MS_FOLDERS_REGISTER_PATH); hOutputLocation = FoldersRegisterCustomPath("VersionInfo", "Output folder", "%miranda_path%"); - GetStringFromDatabase("UUIDCharMark", DEF_UUID_CHARMARK, PLUGIN_UUID_MARK, cPLUGIN_UUID_MARK); + GetStringFromDatabase("UUIDCharMark", _T(DEF_UUID_CHARMARK), PLUGIN_UUID_MARK, cPLUGIN_UUID_MARK); return 0; } @@ -82,7 +83,7 @@ int OnOptionsInitialise(WPARAM wParam, LPARAM lParam) odp.cbSize = sizeof(odp); odp.position = 100000000; odp.hInstance = hInst; - odp.pszTemplate = MAKEINTRESOURCE(IDD_OPT_VERSIONINFO); + odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_VERSIONINFO); odp.pszTitle = Translate("Version Information"); odp.pszGroup = Translate("Services"); odp.groupPosition = 910000000; -- cgit v1.2.3