summaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitmap.c b/bitmap.c
index a75a407..fc5413c 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.c,v 1.3 2004/12/28 01:54:02 lordjaxom Exp $
+ * $Id: bitmap.c,v 1.4 2005/01/11 17:55:31 lordjaxom Exp $
*/
#include "bitmap.h"
@@ -230,6 +230,11 @@ bool cText2SkinBitmap::LoadMagick(const char *Filename, int height, int width, i
esyslog("ERROR: text2skin: Couldn't load %s: %s", Filename, e.what());
delete bmp;
return false;
+ } catch (...) {
+ if (!Quiet)
+ esyslog("ERROR: text2skin: Couldn't load %s: Unknown exception caught", Filename);
+ delete bmp;
+ return false;
}
return true;
}