mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
No reason to write \a and \v as octal escape sequences.
This commit is contained in:
parent
32efd26355
commit
f3f148d238
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145074
@ -376,7 +376,7 @@ escape(char *fmt, int percent)
|
||||
*store = *fmt;
|
||||
break;
|
||||
case 'a': /* bell/alert */
|
||||
*store = '\7';
|
||||
*store = '\a';
|
||||
break;
|
||||
case 'b': /* backspace */
|
||||
*store = '\b';
|
||||
@ -397,7 +397,7 @@ escape(char *fmt, int percent)
|
||||
*store = '\t';
|
||||
break;
|
||||
case 'v': /* vertical tab */
|
||||
*store = '\13';
|
||||
*store = '\v';
|
||||
break;
|
||||
/* octal constant */
|
||||
case '0': case '1': case '2': case '3':
|
||||
|
Loading…
Reference in New Issue
Block a user