Made the censoring tool more censory

This commit is contained in:
jaseg 2015-07-14 22:22:58 +02:00
parent bc4fddbb4a
commit b53d2e82b4
2 changed files with 4 additions and 4 deletions

BIN
censor

Binary file not shown.

View file

@ -55,12 +55,12 @@ int main(int argc, char **argv){
int c;
while((c = fgetwc(f)) > 0){
if(strchr("acemnopqrsuvwxyz", c))
if(strchr("acegmnopqrsuvwxyz", c))
printf("");
else if(strchr("bdfhijkltABCDEFGHIJKLMNOPQRSTUVWXYZ", c))
printf("");
else
else if(strchr(".,:; \t\r\n", c))
printf("%lc", c);
else
printf("");
}
fclose(f);