X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;h=313bd6cff4d8b011d765516903ecb2c32794370d;hb=9c32f34b3766de01c51bc5d00c17d68804ab2603;hp=a2760aa17881ec8f6c2cf6d1b74043c728748543;hpb=f0fdba8ad36010280fc84c2425010c195b76562a;p=chaz%2Fopenbox diff --git a/openbox/menuframe.c b/openbox/menuframe.c index a2760aa1..313bd6cf 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -728,7 +728,7 @@ void menu_frame_render(ObMenuFrame *self) if (e->entry->data.separator.label != NULL) { e->a_text_title->texture[0].data.text.string = e->entry->data.separator.label; - tw = RrMinWidth(text_a); + tw = RrMinWidth(e->a_text_title); tw = MIN(tw, MAX_MENU_WIDTH); th = ob_rr_theme->menu_title_height + (ob_rr_theme->mbwidth - PADDING) *2;