summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-15 13:44:19 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-15 13:44:19 +0000
commitcf54764e31db71613b9088aedcf2bcf32427391d (patch)
treef4ed9215828dc719b20a4bbbc1479aac7bbf0522 /plugins/Toaster/src
parent7d17df97bb5dc0c604a8ed1722f8dba9ea8c56fd (diff)
Toaster: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}