ENH: more chars need quotes

This commit is contained in:
Bill Hoffman 2005-11-18 16:59:53 -05:00
parent 1ecb0e02af
commit 1c01c12af3

View File

@ -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;
} }