Fix \c behaviour

The loop magic broke along the way. Just drop that and write a
proper early exit (= termination).
Now it should work as expected.
This commit is contained in:
FRIGN 2015-02-16 10:30:19 +01:00
parent 26168d5c37
commit 5a13865385

View File

@ -102,7 +102,9 @@ main(int argc, char *argv[])
case 'b': case 'b':
if ((tmp = strstr(arg, "\\c"))) { if ((tmp = strstr(arg, "\\c"))) {
*tmp = 0; *tmp = 0;
argi = argc; unescape(arg);
fputs(arg, stdout);
return 0;
} }
unescape(arg); unescape(arg);
fputs(arg, stdout); fputs(arg, stdout);