[commit] r1408 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jul 18 16:34:36 CDT 2011


Author: ksmyth
Date: Mon Jul 18 16:34:35 2011
New Revision: 1408

Log:
Formatting

Modified:
   trunk/GME/MgaUtil/MgaResolver.cpp

Modified: trunk/GME/MgaUtil/MgaResolver.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaResolver.cpp	Sun Jul 17 18:16:23 2011	(r1407)
+++ trunk/GME/MgaUtil/MgaResolver.cpp	Mon Jul 18 16:34:35 2011	(r1408)
@@ -1071,30 +1071,24 @@
 			CString sz_format;
 			CString sz_format_tmp;
 
-			sz_format_tmp.Format(	_T("Paradigm Violation!  Cannot create within parent Model %s\n")
-									_T("of type %s an object\n"),
+			sz_format_tmp.Format(	_T("Paradigm Violation!  Cannot create within parent model '%s' ")
+									_T("of type '%s' a child "),
 									(BSTR) parent_name,
 									(BSTR) mparent_name);
 			sz_format+=sz_format_tmp;
 
 			if (CString(kind) != _T("")) {
-
-				sz_format_tmp.Format(_T("with kind %s\n"),
-								kind);
+				sz_format_tmp.Format(_T("with kind '%s' "), kind);
 				sz_format+=sz_format_tmp;
 			}
 
 			if (objtype != OBJTYPE_NULL) {
-
-				sz_format_tmp.Format(_T("of type %s\n"),
-								helper_ObjTypeStr(objtype));
+				sz_format_tmp.Format(_T("of type %s "), helper_ObjTypeStr(objtype));
 				sz_format+=sz_format_tmp;
 			}
 
 			if (CString(aspect) != _T("")) {
-
-				sz_format_tmp.Format(_T("in aspect %s"),
-								aspect);
+				sz_format_tmp.Format(_T("in aspect '%s'"), aspect);
 				sz_format+=sz_format_tmp;
 			}
 							


More information about the gme-commit mailing list