Skip to content

Commit

Permalink
Fix bug in windows detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored and fabpot committed Nov 18, 2015
1 parent 59f357d commit c4068d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/Style/SymfonyStyle.php
Expand Up @@ -294,7 +294,7 @@ public function createProgressBar($max = 0)
{
$progressBar = parent::createProgressBar($max);

if ('\\' === DIRECTORY_SEPARATOR) {
if ('\\' !== DIRECTORY_SEPARATOR) {
$progressBar->setEmptyBarCharacter('░'); // light shade character \u2591
$progressBar->setProgressCharacter('');
$progressBar->setBarCharacter('▓'); // dark shade character \u2593
Expand Down

0 comments on commit c4068d9

Please sign in to comment.