diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-26 14:07:56 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-26 14:07:56 +0000 |
commit | 4766c66f800a3b549e0ee5a4f33d9857cf746d11 (patch) | |
tree | 2a4c7c0aa3389e6b49109a0758c389b7d1693e47 /plugins/HistoryLinkListPlus/src/linklist_fct.cpp | |
parent | 8b81d60137c929cc50f50a53c3905e8ff313628b (diff) |
added version info
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3783 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryLinkListPlus/src/linklist_fct.cpp')
-rw-r--r-- | plugins/HistoryLinkListPlus/src/linklist_fct.cpp | 45 |
1 files changed, 12 insertions, 33 deletions
diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp index 508ea89e0a..eb2e0ea98a 100644 --- a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp @@ -15,29 +15,8 @@ // along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#include <windows.h>
-#include "resource.h"
-#ifdef _DEBUG
-#include <crtdbg.h>
-#endif
-
-// Miranda SDK Includes
-#pragma warning(disable:4996)
-#pragma warning(disable:4100)
-#include <newpluginapi.h>
-#include <m_clist.h>
-#include <m_database.h>
-#include <m_utils.h>
-#include <m_langpack.h>
-#include <win2k.h>
-#pragma warning(default:4100)
-#pragma warning(default:4996)
#include "linklist.h"
-#include "linklist_fct.h"
-#include "language.h"
-#include "utils.h"
-
extern HINSTANCE hInst;
extern HANDLE hWindowList;
@@ -1320,18 +1299,18 @@ BOOL SaveEditAsStream( HWND hDlg ) // Initialize filename field
_tcscpy_s(szFilename, _countof(szFilename), _T("*.rtf"));
// Fill in OPENFILENAME struct
- ZeroMemory(&ofn, sizeof(OPENFILENAME)); - ofn.lStructSize = sizeof(OPENFILENAME); - ofn.hwndOwner = hDlg; - TCHAR temp[MAX_PATH]; - mir_sntprintf(temp, SIZEOF(temp), _T("%s (*.rtf)%c*.rtf%c%s (*.*)%c*.*%c%c"), TranslateT("RTF file"), 0, 0, TranslateT("All files"), 0, 0, 0); - ofn.lpstrFilter = temp; - ofn.lpstrFile = szFilename; - ofn.nMaxFile = _countof(szFilename); - ofn.lpstrTitle = TranslateT("Save RTF File"); - ofn.Flags = OFN_OVERWRITEPROMPT; - // Get a filename or quit - if ( ! GetSaveFileName( &ofn )) + ZeroMemory(&ofn, sizeof(OPENFILENAME));
+ ofn.lStructSize = sizeof(OPENFILENAME);
+ ofn.hwndOwner = hDlg;
+ TCHAR temp[MAX_PATH];
+ mir_sntprintf(temp, SIZEOF(temp), _T("%s (*.rtf)%c*.rtf%c%s (*.*)%c*.*%c%c"), TranslateT("RTF file"), 0, 0, TranslateT("All files"), 0, 0, 0);
+ ofn.lpstrFilter = temp;
+ ofn.lpstrFile = szFilename;
+ ofn.nMaxFile = _countof(szFilename);
+ ofn.lpstrTitle = TranslateT("Save RTF File");
+ ofn.Flags = OFN_OVERWRITEPROMPT;
+ // Get a filename or quit
+ if ( ! GetSaveFileName( &ofn ))
return FALSE;
// Create the specified file
hFile = CreateFile( szFilename, GENERIC_WRITE, 0, NULL,
|