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
1 changed files with 3 additions and 1 deletions

View File

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