1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00

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++;