[commit] r1208 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Mar 16 14:37:38 CDT 2011


Author: ksmyth
Date: Wed Mar 16 14:37:38 2011
New Revision: 1208

Log:
wcsrchr takes a wchar_t not a char

Modified:
   trunk/GME/Mga/MgaAttribute.cpp

Modified: trunk/GME/Mga/MgaAttribute.cpp
==============================================================================
--- trunk/GME/Mga/MgaAttribute.cpp	Wed Mar 16 14:36:59 2011	(r1207)
+++ trunk/GME/Mga/MgaAttribute.cpp	Wed Mar 16 14:37:38 2011	(r1208)
@@ -839,7 +839,7 @@
 			fco->CheckRead();
 			CHECK_OUTPTRPAR(pVal);
       
-			BSTR p = wcsrchr(mypath, '/');
+			BSTR p = wcsrchr(mypath, L'/');
 			if(p) {
 				CComBSTR xpath;
 				xpath.Attach(::SysAllocStringLen(mypath,p-mypath));


More information about the gme-commit mailing list