From 03a7b123e64c552639c89cb80105003b076eff55 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 24 Nov 2011 10:58:19 +0000 Subject: another part of small project fixes git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@205 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- FavContacts/favcontacts.sln | 19 +++++++++++++++++++ FavContacts/favcontacts.vcproj | 4 ++-- FavContacts/favcontacts.vcxproj | 4 ++-- FavContacts/src/main.cpp | 4 ++-- 4 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 FavContacts/favcontacts.sln (limited to 'FavContacts') diff --git a/FavContacts/favcontacts.sln b/FavContacts/favcontacts.sln new file mode 100644 index 0000000..4572aa3 --- /dev/null +++ b/FavContacts/favcontacts.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "favcontacts", "favcontacts.vcxproj", "{2D0B4CB0-3ACA-4612-B745-FF3050E1500A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug Unicode|Win32 = Debug Unicode|Win32 + Release Unicode|Win32 = Release Unicode|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2D0B4CB0-3ACA-4612-B745-FF3050E1500A}.Debug Unicode|Win32.ActiveCfg = Debug Unicode|Win32 + {2D0B4CB0-3ACA-4612-B745-FF3050E1500A}.Debug Unicode|Win32.Build.0 = Debug Unicode|Win32 + {2D0B4CB0-3ACA-4612-B745-FF3050E1500A}.Release Unicode|Win32.ActiveCfg = Release Unicode|Win32 + {2D0B4CB0-3ACA-4612-B745-FF3050E1500A}.Release Unicode|Win32.Build.0 = Release Unicode|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/FavContacts/favcontacts.vcproj b/FavContacts/favcontacts.vcproj index 581619c..c2518ac 100644 --- a/FavContacts/favcontacts.vcproj +++ b/FavContacts/favcontacts.vcproj @@ -41,7 +41,7 @@ Disabled - ../../include;../ExternalAPI + ../include;../ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;FAVCONTACTS_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -76,7 +76,7 @@ Full Size - ../../include;../ExternalAPI + ../include;../ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;FAVCONTACTS_EXPORTS;%(PreprocessorDefinitions) diff --git a/FavContacts/src/main.cpp b/FavContacts/src/main.cpp index b6d7486..5e5a1f1 100644 --- a/FavContacts/src/main.cpp +++ b/FavContacts/src/main.cpp @@ -543,7 +543,7 @@ static BOOL sttMeasureItem_Contact(LPMEASUREITEMSTRUCT lpmis, Options *options) { char *proto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0); int status = DBGetContactSettingWord(hContact, proto, "Status", ID_STATUS_OFFLINE); - title = (TCHAR *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, status, GCMDF_TCHAR); + title = (TCHAR *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, status, GSMDF_TCHAR); } else { title = dbv.ptszVal; @@ -830,7 +830,7 @@ static BOOL sttDrawItem_Contact(LPDRAWITEMSTRUCT lpdis, Options *options = NULL) if (DBGetContactSettingTString(hContact, "CList", "StatusMsg", &dbv) || !*dbv.ptszVal) { int status = DBGetContactSettingWord(hContact, proto, "Status", ID_STATUS_OFFLINE); - title = (TCHAR *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, status, GCMDF_TCHAR); + title = (TCHAR *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, status, GSMDF_TCHAR); } else { title = dbv.ptszVal; -- cgit v1.2.3