[commit] r2408 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Dec 31 12:42:55 CST 2013


Author: ksmyth
Date: Tue Dec 31 12:42:55 2013
New Revision: 2408

Log:
Fix SelectiveClosureCalc

Modified:
   trunk/GME/MgaUtil/MakeClosure.cpp

Modified: trunk/GME/MgaUtil/MakeClosure.cpp
==============================================================================
--- trunk/GME/MgaUtil/MakeClosure.cpp	Tue Dec 31 12:42:42 2013	(r2407)
+++ trunk/GME/MgaUtil/MakeClosure.cpp	Tue Dec 31 12:42:55 2013	(r2408)
@@ -692,7 +692,7 @@
 		COMTHROW( obj->get_RegistryValue( CComBSTR( m_markerNode), &buf0));
 
 		// check if the new marker appears already in the marker list
-		std::wstring str_buf = buf0;
+		std::wstring str_buf = buf0.Length() ? buf0 : L"";
 
 		TCHAR buf1[12];
 		swprintf_s( buf1, L",%i", m_markWith);


More information about the gme-commit mailing list