Explorar o código

ENH: add a check for -NOTFOUND

Bill Hoffman %!s(int64=23) %!d(string=hai) anos
pai
achega
4c22977685
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = "";
       }