diff options
Diffstat (limited to 'plugins/CrashDumper/src')
-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)
|