Fix code style; Ruby: Fix typo

This commit is contained in:
Alex Kotov 2022-01-21 19:29:40 +05:00
parent 177e6d3a1c
commit cf789a21a3
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ VALUE rb_KernAux_snprintf1(
} else if (*fmt == 'h') {
++fmt;
if (*fmt == 'h') ++fmt;
} else if (*fmt == 't' || *fmt == 'j' || *fmt == 'z' || *fmt == 'z') {
} else if (*fmt == 't' || *fmt == 'j' || *fmt == 'z') {
++fmt;
}

View File

@ -204,7 +204,7 @@ int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char*
flags |= FLAGS_LONG_LONG;
format++;
}
break;
break;
case 'h':
flags |= FLAGS_SHORT;
format++;