arrow offset 75a19c35
Connor Lane Smith · 2010-08-20 19:57 1 file(s) · +1 −1
dmenu.c +1 −1
124 124
			dc_drawtext(dc, "<", normcol);
125 125
		for(item = curr; item != next; item = item->right) {
126 126
			dc->x += dc->w;
127 -
			dc->w = MIN(dc_textw(dc, item->text), mw - dc->x);
127 +
			dc->w = MIN(dc_textw(dc, item->text), mw - dc->x - dc_textw(dc, ">"));
128 128
			dc_drawtext(dc, item->text, (item == sel) ? selcol : normcol);
129 129
		}
130 130
		dc->w = dc_textw(dc, ">");