[commit] r2148 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Feb 12 13:46:47 CST 2013


Author: ksmyth
Date: Tue Feb 12 13:46:47 2013
New Revision: 2148

Log:
Need to escape backslashes in string literal

Modified:
   trunk/GME/MgaUtil/MgaRegistrar.cpp

Modified: trunk/GME/MgaUtil/MgaRegistrar.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaRegistrar.cpp	Tue Feb 12 13:46:23 2013	(r2147)
+++ trunk/GME/MgaUtil/MgaRegistrar.cpp	Tue Feb 12 13:46:47 2013	(r2148)
@@ -89,7 +89,7 @@
 			if(res == ERROR_SUCCESS) {
 				str2 = QueryValue(mga, _T("IconPath"));
 			} else if (res == ERROR_FILE_NOT_FOUND) {
-				str2 = "$PARADIGMDIR\icons;$PROJECTDIR\icons";
+				str2 = "$PARADIGMDIR\\icons;$PROJECTDIR\\icons";
 			}
 			str2.TrimLeft(_T(" ;,\t"));
 			if(!str.IsEmpty() && !str2.IsEmpty())


More information about the gme-commit mailing list