1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

correctly wrap macros with { }

This commit is contained in:
Alexey Zelkin 2001-09-06 09:26:28 +00:00
parent 131ee164c7
commit f6a9e03fe5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83139

View File

@ -297,11 +297,12 @@ strfmon(s, maxsize, format, va_alist)
PRINT(' '); PRINT(' ');
if (sign_posn == 0) { if (sign_posn == 0) {
if (flags & IS_NEGATIVE) if (flags & IS_NEGATIVE) {
PRINT('('); PRINT('(');
else } else {
PRINT(' '); PRINT(' ');
} }
}
if (cs_precedes == 1) { if (cs_precedes == 1) {
if (sign_posn == 1 || sign_posn == 3) { if (sign_posn == 1 || sign_posn == 3) {