diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-06 16:09:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-06 16:09:08 +0000 |
commit | 5fc50c70d6b527b99f263893dfa5d695f45c5a5c (patch) | |
tree | b19278a48ec09bd0e1b344824a629b34a8c7a487 /plugins/CrashDumper | |
parent | 389cf7c4855375bfc3ea6e19051601ada249e2f1 (diff) |
small cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@4336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 8b58bddd20..c9ec9a7b76 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -128,9 +128,6 @@ INT_PTR UploadVersionInfo(WPARAM, LPARAM lParam) INT_PTR ViewVersionInfo(WPARAM wParam, LPARAM)
{
- // unsigned *p = (unsigned*)0x15;
- // *p = 324;
-
if (hRichModule == NULL && GetModuleHandle(TEXT("Riched20.dll")) == NULL)
hRichModule = LoadLibrary(TEXT("Riched20.dll"));
if(hViewWnd)
@@ -168,7 +165,6 @@ INT_PTR ServiceModeLaunch(WPARAM, LPARAM) return SERVICE_ONLYDB;
}
-
static int FoldersPathChanged(WPARAM, LPARAM)
{
FOLDERSGETDATA fgd = {0};
@@ -187,14 +183,14 @@ int OptionsInit(WPARAM wParam, LPARAM) {
OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
- odp.position = -790000000;
- odp.hInstance = hInst;
+ odp.cbSize = sizeof(odp);
+ odp.position = -790000000;
+ odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
- odp.pszTitle = (char*)PluginName;
- odp.pszGroup = LPGEN("Services");
- odp.flags = ODPF_BOLDGROUPS;
- odp.pfnDlgProc = DlgProcOptions;
+ odp.pszTitle = PluginName;
+ odp.pszGroup = LPGEN("Services");
+ odp.flags = ODPF_BOLDGROUPS;
+ odp.pfnDlgProc = DlgProcOptions;
Options_AddPage(wParam, &odp);
return 0;
@@ -369,7 +365,6 @@ extern "C" int __declspec(dllexport) Load(void) return 0;
}
-
extern "C" int __declspec(dllexport) Unload(void)
{
DestroyAllWindows();
@@ -383,7 +378,6 @@ extern "C" int __declspec(dllexport) Unload(void) return 0;
}
-
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID /*lpvReserved*/)
{
switch(fdwReason)
|