From 5fc50c70d6b527b99f263893dfa5d695f45c5a5c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 6 Apr 2013 16:09:08 +0000 Subject: small cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/crshdmp.cpp | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'plugins') 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) -- cgit v1.2.3