diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 09:52:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-08 09:52:37 +0000 |
commit | 406c1bbcb1859d7f57e84c3c637b2b064dea7c67 (patch) | |
tree | b3a885ebde4526b6dc5765d731b149f2affe4bc7 /plugins/Msg_Export/src/options.cpp | |
parent | 4bf15fc0daea6914bced34c097b163160cce0557 (diff) |
project and code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@3471 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/options.cpp')
-rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index 0e015acaab..be86c3c82e 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -16,21 +16,7 @@ //along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-#include <windows.h>
-#include <commctrl.h>
-#include "Shlobj.h"
-
-
-#include "Utils.h"
#include "Glob.h"
-#include "FileViewer.h"
-
-#include "resource.h"
-
-#include <stdio.h>
-#include <list>
-//#include <algorithm>
#define STRINGIZE(x) #x
#define EVAL_STRINGIZE(x) STRINGIZE(x)
@@ -56,8 +42,6 @@ You need to change this in the file <list> function sort() and sort(_Pr3 _Pr)
*/
-using namespace std;
-
// width in pixels of the UIN column in the List Ctrl
const int nUINColWitdh = 80;
@@ -565,7 +549,7 @@ void AutoFindeFileNames(HWND hwndDlg) size_t nLen = _tcslen( szSubCur );
if( _tcsncicmp( szSubCur , szSearch , nLen ) == 0 )
{
- if( nLen < nShortestMatch )
+ if( nLen < (size_t)nShortestMatch )
{
nShortestMatch = nLen;
nStortestIndex = nSubCur;
@@ -703,17 +687,17 @@ static INT_PTR CALLBACK DlgProcMsgExportOpts(HWND hwndDlg, UINT msg, WPARAM wPar LVCOLUMN cCol = { 0 };
cCol.mask = LVCF_TEXT | LVCF_WIDTH;
cCol.cx = nColumnWidth;
- cCol.pszText = LPGENT("File");
+ cCol.pszText = TranslateT("File");
ListView_InsertColumn( hMapUser , 0 , &cCol );
- cCol.pszText = LPGENT("Nick");
+ cCol.pszText = TranslateT("Nick");
ListView_InsertColumn( hMapUser , 1 , &cCol );
cCol.cx = nProtoColWitdh;
- cCol.pszText = LPGENT("Proto");
+ cCol.pszText = TranslateT("Proto");
ListView_InsertColumn( hMapUser , 2 , &cCol );
cCol.cx = nUINColWitdh;
cCol.mask |= LVCF_FMT;
cCol.fmt = LVCFMT_RIGHT;
- cCol.pszText = LPGENT("UIN");
+ cCol.pszText = TranslateT("UIN");
ListView_InsertColumn( hMapUser , 3 , &cCol );
|