Permalink
Browse files

Correct previous commit

  • Loading branch information...
Felix Hanau
Felix Hanau committed Feb 3, 2018
1 parent af42fb3 commit 6968c5a2d6f79300e3a8f45b3bd88edfdd503639
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/lodepng/lodepng.cpp
@@ -4169,7 +4169,7 @@ static unsigned filter(unsigned char* out, unsigned char* in, unsigned w, unsign
else if(strategy == LFS_GENETIC || strategy == LFS_ALL_CHEAP)
{
if (strategy == LFS_GENETIC){
if(settings->quiet) {
if(!settings->quiet) {
printf("warning: You have decided to enable genetic filtering, which may take a very long time.\n"
"the current generation and number of bytes is displayed.\n"
"you can stop the genetic filtering anytime by pressing ctrl-c\n"
@@ -4276,7 +4276,7 @@ static unsigned filter(unsigned char* out, unsigned char* in, unsigned w, unsign
{
best_size = size[ranking[0]];
e_since_best = 0;
if(settings->quiet) {
if(!settings->quiet) {
printf("Generation %d: %d bytes\n", e, best_size);
}
}

0 comments on commit 6968c5a

Please sign in to comment.