|
@@ -364,7 +364,7 @@ char * make_caca_from_file(unsigned int *size) |
|
|
perror("fread"); |
|
|
perror("fread"); |
|
|
return NULL; |
|
|
return NULL; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
temp[s] = '\0'; |
|
|
|
|
|
|
|
|
temp = remove_comments(temp); |
|
|
temp = remove_comments(temp); |
|
|
temp = remove_slashes(temp); |
|
|
temp = remove_slashes(temp); |
|
@@ -705,6 +705,7 @@ char *wrap_string(char *buffer, unsigned int width, unsigned int *max_width, int |
|
|
scaled[t++] = ' '; |
|
|
scaled[t++] = ' '; |
|
|
for(i = 0; i < *max_width+2; i++) |
|
|
for(i = 0; i < *max_width+2; i++) |
|
|
scaled[t++] = '-'; |
|
|
scaled[t++] = '-'; |
|
|
|
|
|
scaled[t] = '\0'; |
|
|
|
|
|
|
|
|
free(ret); |
|
|
free(ret); |
|
|
ret = NULL; |
|
|
ret = NULL; |
|
|