diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-13 08:00:41 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-03-13 08:00:41 +0000 |
commit | 11fcecff7c310c2cc10bda2ab2fa2daf525be571 (patch) | |
tree | 86fb20fc1ce5e243dd9a973f84b9f1ae6a85c1b4 /plugins/YAMN | |
parent | cb68918922e0d297cc57c4b00fcc42ceaf141965 (diff) |
- another portion of '#ifdef UNICODE' clean up
git-svn-id: http://svn.miranda-ng.org/main/trunk@3993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN')
-rw-r--r-- | plugins/YAMN/src/browser/mailbrowser.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/YAMN/src/browser/mailbrowser.cpp b/plugins/YAMN/src/browser/mailbrowser.cpp index cdbb4e2d3c..0a79b2be62 100644 --- a/plugins/YAMN/src/browser/mailbrowser.cpp +++ b/plugins/YAMN/src/browser/mailbrowser.cpp @@ -1624,11 +1624,9 @@ INT_PTR CALLBACK DlgProcYAMNShowMessage(HWND hDlg,UINT msg,WPARAM wParam,LPARAM else courPos += _stprintf( &buff[courPos], _T("\t%s\r\n"), headvalue);
}
GlobalUnlock(hData);
-#if defined( _UNICODE )
+
SetClipboardData(CF_UNICODETEXT,hData);
-#else
- SetClipboardData(CF_TEXT,hData);
-#endif
+
CloseClipboard();
}
}
@@ -2411,11 +2409,9 @@ INT_PTR CALLBACK DlgProcYAMNMailBrowser(HWND hDlg,UINT msg,WPARAM wParam,LPARAM courPos += _stprintf(&buff[courPos], _T("%s\t%s\t%s\t%s\r\n"), from, subject, size, date);
}
GlobalUnlock(hData);
-#if defined( _UNICODE )
+
SetClipboardData(CF_UNICODETEXT,hData);
-#else
- SetClipboardData(CF_TEXT,hData);
-#endif
+
CloseClipboard();
}
}
|