diff options
Diffstat (limited to 'plugins/ContactsPlus')
-rw-r--r-- | plugins/ContactsPlus/contacts.vcxproj | 2 | ||||
-rw-r--r-- | plugins/ContactsPlus/send.cpp | 2 | ||||
-rw-r--r-- | plugins/ContactsPlus/utils.cpp | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/contacts.vcxproj b/plugins/ContactsPlus/contacts.vcxproj index 11c856d9e1..bd814a7095 100644 --- a/plugins/ContactsPlus/contacts.vcxproj +++ b/plugins/ContactsPlus/contacts.vcxproj @@ -156,6 +156,8 @@ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<ExceptionHandling>false</ExceptionHandling>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <PrecompiledHeaderFile>contacts.h</PrecompiledHeaderFile>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
diff --git a/plugins/ContactsPlus/send.cpp b/plugins/ContactsPlus/send.cpp index 1382b627b5..cebc2cb00d 100644 --- a/plugins/ContactsPlus/send.cpp +++ b/plugins/ContactsPlus/send.cpp @@ -375,7 +375,7 @@ INT_PTR CALLBACK SendDlgProc( HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar case WM_COMMAND:
{
- if(!lParam && CallService(MS_CLIST_MENUPROCESSCOMMAND,MAKEWPARAM(LOWORD(wParam), MPCF_CONTACTMENU), (LPARAM)wndData->hContact))
+ if (!lParam && CallService(MS_CLIST_MENUPROCESSCOMMAND,MAKEWPARAM(LOWORD(wParam), MPCF_CONTACTMENU), (LPARAM)wndData->hContact))
break;
switch(LOWORD(wParam))
diff --git a/plugins/ContactsPlus/utils.cpp b/plugins/ContactsPlus/utils.cpp index a86cdff85f..314e018a39 100644 --- a/plugins/ContactsPlus/utils.cpp +++ b/plugins/ContactsPlus/utils.cpp @@ -697,11 +697,11 @@ WCHAR *make_unicode_string(const unsigned char *utf8) c = utf8[index++];
while (c)
{
- if((c & 0x80) == 0)
+ if ((c & 0x80) == 0)
{
out[out_index++] = c;
}
- else if((c & 0xe0) == 0xe0)
+ else if ((c & 0xe0) == 0xe0)
{
out[out_index] = (c & 0x1F) << 12;
c = utf8[index++];
@@ -780,7 +780,7 @@ static int utf8_decode(const unsigned char *from, char **to) }
*to = (char*)malloc((chars + 1)*sizeof(unsigned char));
- if(*to == NULL)
+ if (*to == NULL)
{
// fprintf(stderr, "Out of memory processing string to local charset\n");
SAFE_FREE((void**)&unicode);
|