[CS] [Console] StreamOuput : fix loose comparison

This commit is contained in:
ogizanagi 2015-05-24 20:51:45 +02:00
parent cc749a67f6
commit cd70ca8a51

View File

@ -97,7 +97,7 @@ class StreamOutput extends Output
protected function hasColorSupport() protected function hasColorSupport()
{ {
// @codeCoverageIgnoreStart // @codeCoverageIgnoreStart
if (DIRECTORY_SEPARATOR == '\\') { if (DIRECTORY_SEPARATOR === '\\') {
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI'); return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
} }