summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-21 12:40:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-21 12:40:53 +0000
commit4ba2fd611622ac3cd8680ed48d3fb3412bea282a (patch)
treea84cb00dd37494a1f2538233cae071eff679b1d8 /plugins/CrashDumper/src
parent27f193cad956ff5238a6abbe2bed797b971a9ffa (diff)
how not to load CrashDumper twice
fixes ticket:39 git-svn-id: http://svn.miranda-ng.org/main/trunk@1621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src')
-rw-r--r--plugins/CrashDumper/src/exhndlr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CrashDumper/src/exhndlr.cpp b/plugins/CrashDumper/src/exhndlr.cpp
index 93406efaa8..45b87f1a54 100644
--- a/plugins/CrashDumper/src/exhndlr.cpp
+++ b/plugins/CrashDumper/src/exhndlr.cpp
@@ -13,9 +13,9 @@ tRtlCaptureContext pRtlCaptureContext = (tRtlCaptureContext)GetProcAddress(hKern
void SetExceptionHandler(void)
{
- // if (pAddVectoredExceptionHandler && !exchndlrv)
- // exchndlrv = pAddVectoredExceptionHandler(0, myfilterv);
- /*exchndlr = */ SetUnhandledExceptionFilter(myfilter);
+ if (pAddVectoredExceptionHandler && !exchndlrv)
+ exchndlrv = pAddVectoredExceptionHandler(0, myfilterv);
+ exchndlr = SetUnhandledExceptionFilter(myfilter);
}
void RemoveExceptionHandler(void)