neodotfiles/user/.config/suckless/dmenu/patch/center.c
Clay Gomera 75927f319c Updated
2022-07-01 02:06:16 -04:00

8 lines
No EOL
155 B
C

static int
max_textw(void)
{
int len = 0;
for (struct item *item = items; item && item->text; item++)
len = MAX(TEXTW(item->text), len);
return len;
}