fixed indentations in logfmtv.h

This commit is contained in:
hyunghwan.chung 2018-03-01 07:59:49 +00:00
parent e66f8481e3
commit bf09dcd4f4

View File

@ -180,7 +180,7 @@ static int logfmtv (moo_t* moo, const fmtchar_t* fmt, moo_fmtout_t* data, va_lis
lm_flag = 0; lm_dflag = 0; flagc = 0; lm_flag = 0; lm_dflag = 0; flagc = 0;
sprintn = sprintn_lower; sprintn = sprintn_lower;
reswitch: reswitch:
switch (ch = *fmt++) switch (ch = *fmt++)
{ {
case '%': /* %% */ case '%': /* %% */
@ -800,7 +800,7 @@ reswitch:
#endif #endif
handle_nosign: handle_nosign:
sign = 0; sign = 0;
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
@ -845,7 +845,7 @@ handle_nosign:
num = va_arg (ap, unsigned int); num = va_arg (ap, unsigned int);
goto number; goto number;
handle_sign: handle_sign:
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
#if defined(__GNUC__) && \ #if defined(__GNUC__) && \
@ -889,7 +889,7 @@ handle_sign:
else else
num = va_arg (ap, int); num = va_arg (ap, int);
number: number:
if (sign && (moo_intmax_t)num < 0) if (sign && (moo_intmax_t)num < 0)
{ {
neg = 1; neg = 1;
@ -960,7 +960,7 @@ number:
} }
break; break;
invalid_format: invalid_format:
#if defined(FMTCHAR_IS_OOCH) #if defined(FMTCHAR_IS_OOCH)
PUT_OOCS (percent, fmt - percent); PUT_OOCS (percent, fmt - percent);
#else #else