diff --git a/src/main.c b/src/main.c index fbf91a6..007ebda 100644 --- a/src/main.c +++ b/src/main.c @@ -323,7 +323,6 @@ char * make_caca_from_file(unsigned int *size) char filepath[1024]; unsigned int s = 0; char *temp = NULL; - char *temp2 = NULL; /* Try direct name */ snprintf(filepath, 1023, "%s", cacamoo_file); @@ -372,87 +371,21 @@ char * make_caca_from_file(unsigned int *size) /* AHAHAH, THAT'S A COOL PERL INTERPRETER ! */ - temp2 = replace(temp, " = <<\"EOC\";", ""); - if(temp!=temp2 && temp2 !=NULL) - { - free(temp); - temp = temp2; - } - temp2 = replace(temp, " = <