Parcourir la source

ENH: add a check for -NOTFOUND

Bill Hoffman il y a 23 ans
Parent
commit
4c22977685
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Source/MFCDialog/PropertyList.cpp

+ 1 - 1
Source/MFCDialog/PropertyList.cpp

@@ -435,7 +435,7 @@ void CPropertyList::OnButton()
 			Filter);
     CString initialDir;
     CString currPath = pItem->m_curValue;
-    if (currPath == "NOTFOUND")
+    if (currPath.Right(9) == "-NOTFOUND" || currPath == "NOTFOUND")
       {
       currPath = "";
       }