[commit] r2015 - trunk/GME/Annotator

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Aug 14 17:31:58 CDT 2012


Author: ksmyth
Date: Tue Aug 14 17:31:54 2012
New Revision: 2015

Log:
Fewer exceptions

Modified:
   trunk/GME/Annotator/AnnotatorTextPart.cpp

Modified: trunk/GME/Annotator/AnnotatorTextPart.cpp
==============================================================================
--- trunk/GME/Annotator/AnnotatorTextPart.cpp	Tue Aug 14 14:28:26 2012	(r2014)
+++ trunk/GME/Annotator/AnnotatorTextPart.cpp	Tue Aug 14 17:31:54 2012	(r2015)
@@ -192,7 +192,7 @@
 			unsigned int b = val & 0xff;
 			m_crText = RGB(r,g,b);
 		} else {
-			throw hresult_exception();
+			m_crText = AN_DEFAULT_COLOR;
 		}
 	}
 	catch (hresult_exception&) {


More information about the gme-commit mailing list