summaryrefslogtreecommitdiff
path: root/plugins/Svc_vi/hooked_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Svc_vi/hooked_events.cpp')
-rw-r--r--plugins/Svc_vi/hooked_events.cpp5
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;