Przeglądaj źródła

Fix bug in trying to set stding with null

Andy Cedilnik 23 lat temu
rodzic
commit
5897d078c6
1 zmienionych plików z 4 dodań i 0 usunięć
  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;
 }