Browse Source

Fix bug in trying to set stding with null

Andy Cedilnik 23 năm trước cách đây
mục cha
commit
5897d078c6
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Source/cmSourceFile.cxx

+ 4 - 0
Source/cmSourceFile.cxx

@@ -161,6 +161,10 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
     {
     return;
     }
+  if (!value)
+    {
+	value = "NOTFOUND";
+	}
   m_Properties[prop] = value;
 }