diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-26 14:47:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-26 14:47:04 +0000 |
commit | 1d9dd615e5f1a43d3b78f37b5aaae836dfac1c4d (patch) | |
tree | dd3dd64e8c60cccb072e5acae857c9c55203e86d /plugins/Svc_vi/hooked_events.cpp | |
parent | 32abe163ec316671ec5a0a3bbec68ec13f71cb92 (diff) |
- 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
Diffstat (limited to 'plugins/Svc_vi/hooked_events.cpp')
-rw-r--r-- | plugins/Svc_vi/hooked_events.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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;
|