Jelajahi Sumber

ENH: more chars need quotes

Bill Hoffman 20 tahun lalu
induk
melakukan
1c01c12af3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Source/cmXCodeObject.cxx

+ 1 - 1
Source/cmXCodeObject.cxx

@@ -186,7 +186,7 @@ void cmXCodeObject::SetString(const char* s)
     }
     }
   bool needQuote = false;
   bool needQuote = false;
   m_String = "";
   m_String = "";
-  if(ss.find_first_of(" <>.+") != ss.npos)
+  if(ss.find_first_of(" <>.+-=") != ss.npos)
     {
     {
     needQuote = true;
     needQuote = true;
     }
     }