X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftoken.h;h=413a14c6e236f4c9853c11a7b91228394c27af6f;hp=fcf3f4e49f5b3ced600063831438944539db3cb3;hb=dfc032e7e195fc09c5ad2cda81d00a8958b80a66;hpb=de01badbc6098fe8a2f68afef5bc984b9ed371a5 diff --git a/src/token.h b/src/token.h index fcf3f4e..413a14c 100644 --- a/src/token.h +++ b/src/token.h @@ -108,12 +108,12 @@ static inline size_t psi_t_size(token_t t) static inline const char *psi_t_indent(unsigned level) { static const char indent[] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; - return &indent[32 - MAX(0, MIN(32, level))]; + return &indent[32 - MIN(32, level)]; } static inline const char *psi_t_indirection(unsigned pointer_level) { static const char indir[] = "********************************"; - return &indir[32 - MAX(0, MIN(32, pointer_level))]; + return &indir[32 - MIN(32, pointer_level)]; } struct psi_token {