mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 12:28:13 -04:00
chore(wcwidth): disable readability checks
This commit is contained in:
parent
129f4566a3
commit
d7678a1477
@ -18,6 +18,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
// NOLINTBEGIN(readability-*)
|
||||||
|
|
||||||
struct width_interval {
|
struct width_interval {
|
||||||
int start;
|
int start;
|
||||||
int end;
|
int end;
|
||||||
@ -542,3 +544,5 @@ int dwarfs_wcwidth(int ucs) {
|
|||||||
|
|
||||||
return intable(WIDE_EASTASIAN, sizeof(WIDE_EASTASIAN)/sizeof(struct width_interval), ucs) ? 2 : 1;
|
return intable(WIDE_EASTASIAN, sizeof(WIDE_EASTASIAN)/sizeof(struct width_interval), ucs) ? 2 : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOLINTEND(readability-*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user