neodotfiles/user/.config/dmenu/patch/center.c
Clay Gomera 6e8cfc9ec3 Updated
updated everything
2022-06-06 22:15:35 -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;
}