summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src')
-rw-r--r--plugins/Toaster/src/images.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Toaster/src/images.h b/plugins/Toaster/src/images.h
index 19d7fddc87..31981f82a5 100644
--- a/plugins/Toaster/src/images.h
+++ b/plugins/Toaster/src/images.h
@@ -50,11 +50,11 @@ public:
isi.hbm = _hBitmap;
isi.dwMask = IMGI_HBITMAP;
isi.fif = FREE_IMAGE_FORMAT::FIF_PNG;
- try
+ __try
{
CallService(MS_IMG_SAVE, (WPARAM)&isi, IMGL_WCHAR);
}
- catch (...)
+ __except (EXCEPTION_EXECUTE_HANDLER)
{
return nullptr;
}