From 96101e2721d4cb277bf0b9d02f077dc2dd9087d8 Mon Sep 17 00:00:00 2001 From: sje Date: Thu, 23 Nov 2006 03:20:39 +0000 Subject: rebuild using standard (George's) m_fontservice.h (encoding ambivalent) fix errors to allow pure ansi build git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@55 4f64403b-2f21-0410-a795-97e2b3489a10 --- font_service/FontService.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'font_service/FontService.cpp') diff --git a/font_service/FontService.cpp b/font_service/FontService.cpp index 05b8aa9..a8a8b89 100644 --- a/font_service/FontService.cpp +++ b/font_service/FontService.cpp @@ -10,8 +10,12 @@ PLUGININFO pluginInfo={ sizeof(PLUGININFO), +#ifndef _UNICODE + "FontService (ANSI)", +#else "FontService", - PLUGIN_MAKE_VERSION(0, 1, 4, 4), +#endif + PLUGIN_MAKE_VERSION(0, 2, 0, 0), "Provides a UI for font settings, and services to plugins for font control.", "S. Ellis", "mail@scottellis.com.au", @@ -44,12 +48,12 @@ extern "C" BOOL APIENTRY DllMain( HANDLE hModule, int ModulesLoaded(WPARAM wParam, LPARAM lParam) { - if(!GetModuleHandle(L"CLIST_MODERN")) + if(!GetModuleHandle(_T("CLIST_MODERN"))) RegisterCListFonts(); - if(GetModuleHandle(L"SRMM")) + if(GetModuleHandle(_T("SRMM"))) RegisterSRMMFonts(); - if(GetModuleHandle(L"CHAT")) + if(GetModuleHandle(_T("CHAT"))) RegisterChatFonts(); return 0; -- cgit v1.2.3