summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/PropertyList.cpp
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-02-05 18:24:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-02-05 18:24:33 (GMT)
commit4c22977685f2eae8ef57dfaeaf09280c78d6ebd4 (patch)
treeb61e43e2bb7976af3fccacf6bb15d8a0c393ba2f /Source/MFCDialog/PropertyList.cpp
parentbec6a7076a2c3bd7dfc09018b3e0d0524c1d7b4d (diff)
downloadCMake-4c22977685f2eae8ef57dfaeaf09280c78d6ebd4.zip
CMake-4c22977685f2eae8ef57dfaeaf09280c78d6ebd4.tar.gz
CMake-4c22977685f2eae8ef57dfaeaf09280c78d6ebd4.tar.bz2
ENH: add a check for -NOTFOUND
Diffstat (limited to 'Source/MFCDialog/PropertyList.cpp')
-rw-r--r--Source/MFCDialog/PropertyList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp
index 0371cb5..aef74b4 100644
--- a/Source/MFCDialog/PropertyList.cpp
+++ b/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 = "";
}